mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Don't set an explicit width for LinesComponent
This commit is contained in:
@@ -64,10 +64,6 @@ class LinesComponent extends TiledComponent
|
||||
@domNode.appendChild(@placeholderTextDiv)
|
||||
@oldState.placeholderText = @newState.placeholderText
|
||||
|
||||
if @newState.width isnt @oldState.width
|
||||
@domNode.style.width = @newState.width + 'px'
|
||||
@oldState.width = @newState.width
|
||||
|
||||
@cursorsComponent.updateSync(state)
|
||||
|
||||
buildComponentForTile: (id) -> new LinesTileComponent({id, @presenter, @domElementPool, @assert, @grammars})
|
||||
|
||||
Reference in New Issue
Block a user