mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Place WrapGuide on the Editor's underlayer element (instead of on lines)
This commit is contained in:
@@ -13,8 +13,8 @@ class WrapGuide extends View
|
||||
@appendToEditorPane(rootView, editor, config)
|
||||
|
||||
@appendToEditorPane: (rootView, editor, config) ->
|
||||
if lines = editor.pane()?.find('.lines')
|
||||
lines.append(new WrapGuide(rootView, editor, config))
|
||||
if underlayer = editor.pane()?.find('.underlayer')
|
||||
underlayer.append(new WrapGuide(rootView, editor, config))
|
||||
|
||||
@content: ->
|
||||
@div class: 'wrap-guide'
|
||||
|
||||
Reference in New Issue
Block a user