mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-15 13:34:10 +03:00
Don't set an explicit width for LinesComponent
This commit is contained in:
parent
2fb757791b
commit
c8e742809b
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user