improve page unloading

This commit is contained in:
LabyStudio
2022-05-13 21:41:59 +02:00
parent 22cd91e99b
commit 02497c2d36
3 changed files with 12 additions and 5 deletions
@@ -47,7 +47,7 @@ export default class ScreenRenderer {
}
reset() {
this.stack2d.clearRect(0, 0, this.window.width, this.window.height);
this.stack2d.clearRect(0, 0, this.window.canvas2d.width, this.window.canvas2d.height);
}
}