mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove width setting of overflowExpander
This commit is contained in:
@@ -600,9 +600,7 @@ EditorComponent = React.createClass
|
||||
|
||||
if position is 'absolute' or width
|
||||
clientWidth = scrollViewNode.clientWidth
|
||||
if clientWidth > 0
|
||||
overflowExpander.style.height = clientHeight + "px"
|
||||
editor.setWidth(clientWidth)
|
||||
editor.setWidth(clientWidth) if clientWidth > 0
|
||||
|
||||
measureLineHeightAndCharWidthsIfNeeded: (prevState) ->
|
||||
if not isEqualForProperties(prevState, @state, 'lineHeight', 'fontSize', 'fontFamily')
|
||||
|
||||
Reference in New Issue
Block a user