fix: lint

This commit is contained in:
Felix Roos 2023-12-28 20:36:59 +01:00
parent 975a198ee9
commit 2ed3a5c582

View File

@ -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) {