Place WrapGuide on the Editor's underlayer element (instead of on lines)

This commit is contained in:
Corey Johnson
2012-11-12 09:19:07 -08:00
parent e9f69ee203
commit 885717864e

View File

@@ -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'