Fix engine errors
This commit is contained in:
1 parent
1c6f2368a1
commit
9ca21bdcb8
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -90,7 +90,7 @@ export function resizeCanvas(width: number, height: number): void {
|
||||
boundaries.minX = translation.x;
|
||||
boundaries.minY = translation.y;
|
||||
boundaries.maxX = translation.x + canvas.width;
|
||||
boundaries.maxY = translation.x + canvas.height;
|
||||
boundaries.maxY = translation.y + canvas.height;
|
||||
}
|
||||
|
||||
export function resetCtx() {
|
||||
|
||||
Reference in new issue
Block a user