mirror of
https://github.com/atom/atom.git
synced 2026-02-15 17:15:24 -05:00
Rename TextEditorPresenter::height to ::explicitHeight
This clarifies that the height is being assigned externally rather than derived from the content.
This commit is contained in:
@@ -652,10 +652,10 @@ TextEditorComponent = React.createClass
|
||||
@presenter.setAutoHeight(false)
|
||||
height = hostElement.offsetHeight
|
||||
if height > 0
|
||||
@presenter.setHeight(height)
|
||||
@presenter.setExplicitHeight(height)
|
||||
else
|
||||
@presenter.setAutoHeight(true)
|
||||
@presenter.setHeight(null)
|
||||
@presenter.setExplicitHeight(null)
|
||||
|
||||
clientWidth = scrollViewNode.clientWidth
|
||||
paddingLeft = parseInt(getComputedStyle(scrollViewNode).paddingLeft)
|
||||
|
||||
Reference in New Issue
Block a user