Prevent rotation after level ending
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user