Include scrollbar dimensions in required measurements in presenter

Esse commit está contido em:
Nathan Sobo
2015-02-04 11:35:07 -07:00
commit 6196882b9d
+7 -1
Ver Arquivo
@@ -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