mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add a real spec for visible line rendering in the react editor view
This commit is contained in:
@@ -26,6 +26,9 @@ class ReactEditorView extends View
|
||||
scrollTop: @scrollView.scrollTop
|
||||
lineHeight: @lineHeight
|
||||
|
||||
setScrollTop: (scrollTop) ->
|
||||
@contents.setProps({scrollTop})
|
||||
|
||||
measureLineHeight: ->
|
||||
fragment = $$ ->
|
||||
@div class: 'lines', ->
|
||||
|
||||
Reference in New Issue
Block a user