Skip to content

Commit

Permalink
🐛 Fix screen delta not set in decoration changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Jan 7, 2015
1 parent d054ad7 commit 3aa521b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mixins/decoration-management.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class DecorationManagement extends Mixin

[start, end] = [end, start] if start.row > end.row

@stackRangeChanges({start, end})
@stackRangeChanges({start, end, screenDelta: end - start})

decoration = new Decoration(marker, this, decorationParams)
@decorationsByMarkerId[marker.id] ?= []
Expand Down

0 comments on commit 3aa521b

Please sign in to comment.