From c8e742809b65ae75f933fa29c2decbd832676ecd Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 30 May 2016 15:06:36 +0200 Subject: [PATCH] Don't set an explicit width for LinesComponent --- src/lines-component.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lines-component.coffee b/src/lines-component.coffee index 88645589a..bb9634ec2 100644 --- a/src/lines-component.coffee +++ b/src/lines-component.coffee @@ -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})