mirror of
https://github.com/atom/atom.git
synced 2026-01-30 09:18:19 -05:00
Include scrollbar dimensions in required measurements in presenter
This commit is contained in:
@@ -414,7 +414,13 @@ class TextEditorPresenter
|
||||
getCursorBlinkResumeDelay: -> @cursorBlinkResumeDelay
|
||||
|
||||
hasRequiredMeasurements: ->
|
||||
@lineHeight? and @baseCharacterWidth? and @getHeight()? and @scrollTop? and @contentFrameWidth? and @scrollLeft?
|
||||
@lineHeight? and
|
||||
@baseCharacterWidth? and
|
||||
@scrollTop? and
|
||||
@contentFrameWidth? and
|
||||
@scrollLeft? and
|
||||
@verticalScrollbarWidth? and
|
||||
@horizontalScrollbarHeight?
|
||||
|
||||
setScrollTop: (scrollTop) ->
|
||||
unless @scrollTop is scrollTop
|
||||
|
||||
Reference in New Issue
Block a user