Skip to content

Commit

Permalink
🐛 Fix invalid intact ranges computed when added a decoration
Browse files Browse the repository at this point in the history
As no screen delta was passed for the change, the drawer was assuming
that the whole screen had to be redrawn.
  • Loading branch information
abe33 committed Jun 25, 2015
1 parent 3654c6e commit 178dca4
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 @@ -224,7 +224,7 @@ class DecorationManagement extends Mixin
range = decoration.marker.getScreenRange()
return unless range?

@emitRangeChanges(range)
@emitRangeChanges(range, 0)

# Internal: Emits a change for the specified range.
#
Expand Down

0 comments on commit 178dca4

Please sign in to comment.