mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Revert "Append wrap guide to editor element"
This reverts commit 5301b29649.
This caused the wrap guide not to scroll correctly when lines
scroll.
This commit is contained in:
@@ -12,8 +12,8 @@ class WrapGuide extends View
|
||||
@appendToEditorPane(rootView, editor)
|
||||
|
||||
@appendToEditorPane: (rootView, editor) ->
|
||||
if parent = editor.pane()?.find('.editor')
|
||||
parent.append(new WrapGuide(rootView, editor))
|
||||
if lines = editor.pane()?.find('.lines')
|
||||
lines.append(new WrapGuide(rootView, editor))
|
||||
|
||||
@content: ->
|
||||
@div class: 'wrap-guide'
|
||||
|
||||
Reference in New Issue
Block a user