Remove width setting of overflowExpander

This commit is contained in:
Corey Johnson
2014-06-17 14:07:26 -07:00
parent 0255e44f00
commit f3a4d32a32

View File

@@ -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')