mirror of
https://github.com/atom/atom.git
synced 2026-01-26 23:38:48 -05:00
Fix wrong variable name causing style.width to be constantly re-assigned
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user