mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Editor.renderedLines' css width is set to 100% when editor.maxScreenLineLength() is less than Editor.scrollView's width
This commit is contained in:
@@ -657,7 +657,7 @@ class Editor extends View
|
||||
if width > @scrollView.width()
|
||||
@renderedLines.width(width)
|
||||
else
|
||||
@renderedLines.width(@scrollView.width())
|
||||
@renderedLines.width("inherit")
|
||||
|
||||
handleScrollHeightChange: ->
|
||||
scrollHeight = @lineHeight * @screenLineCount()
|
||||
|
||||
Reference in New Issue
Block a user