This commit is contained in:
Corey Johnson & Nathan Sobo 2012-09-28 14:54:18 -07:00 committed by Kevin Sawicki
parent be8120e8c6
commit 2c763a4d48

View File

@ -13,10 +13,10 @@ class CursorView extends View
hidden: false
initialize: (@cursor, @editor) ->
@cursor.on 'change-screen-position.cursor-view', (position, { bufferChange }) =>
@cursor.on 'change-screen-position.cursor-view', (screenPosition, { bufferChange }) =>
@updateAppearance()
@removeIdleClassTemporarily() unless bufferChange
@trigger 'cursor-move', bufferChange: bufferChange
@trigger 'cursor-move', {bufferChange}
@cursor.on 'destroy.cursor-view', => @remove()