Attach views to .lines instead of defunct .scroll-view-content

This commit is contained in:
Nathan Sobo
2014-05-15 14:53:14 -06:00
parent bc8a1756f3
commit c5fa2bf12d

View File

@@ -64,7 +64,8 @@ class ReactEditorView extends View
appendToLinesView: (view) ->
view.css('position', 'absolute')
@find('.scroll-view-content').prepend(view)
view.css('z-index', 1)
@find('.lines').prepend(view)
beforeRemove: ->
React.unmountComponentAtNode(@element)