mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
fix: lint
This commit is contained in:
parent
975a198ee9
commit
2ed3a5c582
@ -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…
x
Reference in New Issue
Block a user