fix: lint
This commit is contained in:
parent
975a198ee9
commit
2ed3a5c582
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ export class StrudelMirror {
|
|||
// adjusts draw time depending on if there are painters
|
||||
adjustDrawTime() {
|
||||
// when no painters are set, [0,0] is enough (just highlighting)
|
||||
this.drawer.setDrawTime(!!this.painters.length ? this.drawTime : [0, 0]);
|
||||
this.drawer.setDrawTime(this.painters.length ? this.drawTime : [0, 0]);
|
||||
}
|
||||
async drawFirstFrame() {
|
||||
if (!this.onDraw) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue