Don't set an explicit width for LinesComponent

This commit is contained in:
Antonio Scandurra 2016-05-30 15:06:36 +02:00
parent 2fb757791b
commit c8e742809b

View File

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