mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38: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
|
// adjusts draw time depending on if there are painters
|
||||||
adjustDrawTime() {
|
adjustDrawTime() {
|
||||||
// when no painters are set, [0,0] is enough (just highlighting)
|
// 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() {
|
async drawFirstFrame() {
|
||||||
if (!this.onDraw) {
|
if (!this.onDraw) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user