mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Don't add single-line class to editor in command panel and file finder… it's defunct
This commit is contained in:
@@ -24,7 +24,6 @@ class CommandPanel extends View
|
||||
@rootView.on 'command-panel:execute', => @execute()
|
||||
@rootView.on 'command-panel:find-in-file', => @show("/")
|
||||
@rootView.on 'command-panel:repeat-relative-address', => @repeatRelativeAddress()
|
||||
@editor.addClass 'single-line'
|
||||
|
||||
@editor.off 'move-up move-down'
|
||||
@editor.on 'move-up', => @navigateBackwardInHistory()
|
||||
|
||||
@@ -26,7 +26,6 @@ class FileFinder extends View
|
||||
@on 'move-down', => @moveDown()
|
||||
@on 'file-finder:select-file', => @select()
|
||||
|
||||
@editor.addClass 'single-line'
|
||||
@editor.buffer.on 'change', => @populatePathList() if @hasParent()
|
||||
@editor.off 'move-up move-down'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user