From 3147a2ce3dda8030e6540ea70916a6bd3accd359 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 5 Oct 2016 16:31:58 +0200 Subject: [PATCH] Fix wrong variable name causing style.width to be constantly re-assigned --- src/lines-tile-component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lines-tile-component.js b/src/lines-tile-component.js index 0e98600ed..1ac94bc42 100644 --- a/src/lines-tile-component.js +++ b/src/lines-tile-component.js @@ -61,7 +61,7 @@ module.exports = class LinesTileComponent { if (this.newState.width !== this.oldState.width) { this.domNode.style.width = this.newState.width + 'px' - this.oldTileState.width = this.newTileState.width + this.oldState.width = this.newState.width } if (this.newTileState.top !== this.oldTileState.top || this.newTileState.left !== this.oldTileState.left) {