mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Update lastPixelPosition when changing
Also remove unused changedPosition variable
This commit is contained in:
@@ -43,7 +43,7 @@ class CursorView extends View
|
||||
pixelPosition = @getPixelPosition()
|
||||
|
||||
unless _.isEqual(@lastPixelPosition, pixelPosition)
|
||||
changedPosition = true
|
||||
@lastPixelPosition = pixelPosition
|
||||
@css(pixelPosition)
|
||||
@trigger 'cursor:moved'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user