mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use isVisible()
This commit is contained in:
@@ -703,7 +703,7 @@ class Editor extends View
|
||||
@on 'cursor:moved', =>
|
||||
return unless @isFocused
|
||||
cursorView = @getCursorView()
|
||||
@hiddenInput.offset(cursorView.offset()) if cursorView.is(':visible')
|
||||
@hiddenInput.offset(cursorView.offset()) if cursorView.isVisible()
|
||||
|
||||
selectedText = null
|
||||
@hiddenInput.on 'compositionstart', =>
|
||||
|
||||
Reference in New Issue
Block a user