mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use computed clientWidth instead of contentFrameWidth as max scrollWidth
This commit is contained in:
@@ -344,7 +344,7 @@ class TextEditorPresenter
|
||||
Math.min(@model.getScreenLineCount(), endRow)
|
||||
|
||||
computeScrollWidth: ->
|
||||
Math.max(@computeContentWidth(), @contentFrameWidth)
|
||||
Math.max(@computeContentWidth(), @computeClientWidth())
|
||||
|
||||
computeScrollHeight: ->
|
||||
contentHeight = @computeContentHeight()
|
||||
|
||||
Reference in New Issue
Block a user