mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Find underlayer in editor instead of pane
This commit is contained in:
@@ -9,7 +9,7 @@ class WrapGuideView extends View
|
||||
@appendToEditorPane(rootView, editor) if editor.attached
|
||||
|
||||
@appendToEditorPane: (rootView, editor) ->
|
||||
if underlayer = editor.pane()?.find('.underlayer')
|
||||
if underlayer = editor.find('.underlayer')
|
||||
underlayer.append(new WrapGuideView(editor))
|
||||
|
||||
@content: ->
|
||||
|
||||
Reference in New Issue
Block a user