chore: elegance
This commit is contained in:
parent
9a153dd90d
commit
f9826e16d5
|
@ -96,8 +96,7 @@ export class Tiles extends decorate(class {}) {
|
|||
}
|
||||
|
||||
tick(elapsed) {
|
||||
this._sizeState = this._sizeState.set(0, this.width);
|
||||
this._sizeState = this._sizeState.set(1, this.height);
|
||||
this._sizeState = this._sizeState.set(0, this.width).set(1, this.height);
|
||||
this._state = this._state.set('size', this._sizeState);
|
||||
this._state = this._state.set('data', this.data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user