running/stopped event

This commit is contained in:
2019-06-18 11:39:07 +02:00
parent dc42c474a1
commit 4a37bb0cb3
8 changed files with 657 additions and 13 deletions

View File

@@ -130,6 +130,10 @@ export default class Compose extends Canvas2d {
if (!width || !height) {
return;
}
if (!this.bg && !this.fg) {
return;
}
canvas.width = width;
canvas.height = height;