Skip to content

Commit

Permalink
🐛 Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Oct 9, 2014
1 parent 696fc29 commit 6a80af0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/atom-color-highlight.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{EditorView} = require 'atom'
{Emitter} = require 'emissary'
AtomColorHighlightEditor = null

Expand Down
4 changes: 2 additions & 2 deletions lib/marker-view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ class MarkerView
bufferRange = @editor.bufferRangeForScreenRange({start, end})
text = @editor.getTextInRange(bufferRange)

css = @editorView.pixelPositionForScreenPosition(start)
css = @editor.pixelPositionForScreenPosition(start)
css.height = lineHeight * rows
if end
css.width = @editorView.pixelPositionForScreenPosition(end).left - css.left
css.width = @editor.pixelPositionForScreenPosition(end).left - css.left
else
css.right = 0

Expand Down

0 comments on commit 6a80af0

Please sign in to comment.