Skip to content

Commit

Permalink
🐛 Fix marker display issue when scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Dec 31, 2014
1 parent 4bc76c6 commit 01aba50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/marker-mixin.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class MarkerMixin extends Mixin
@subscriptions.add @marker.onDidChange (e) => @onMarkerChanged(e)
@subscriptions.add @marker.onDidDestroy (e) => @remove(e)
@subscriptions.add @editor.onDidChange (e) => @updateDisplay(e)
@subscriptions.add @editor.onDidChangeScrollTop (e) => @updateDisplay(e)

onMarkerChanged: ({isValid}) ->
@updateNeeded = isValid
Expand Down

0 comments on commit 01aba50

Please sign in to comment.