Prevent rotation after level ending

This commit is contained in:
Sysy's
2026-03-31 09:50:07 +02:00
parent 09d54aa525
commit 5620fade9c

View File

@@ -119,7 +119,9 @@ function loadGrid() {
btnMirror.onmousedown = (e) => {
e.preventDefault();
e.stopPropagation();
if(!isLevelFinished){
rotateMirror(x, y, e.button === 2);
}
};
btnMirror.oncontextmenu = (e) => e.preventDefault();