bug fixes
This commit is contained in:
parent
b4a241b3a9
commit
0a491b89be
8
app.js
8
app.js
@ -455,7 +455,7 @@ class Settings {
|
|||||||
if (localStorage[element.name]) element.value = localStorage[element.name]
|
if (localStorage[element.name]) element.value = localStorage[element.name]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.selectedStyleSheetSet = stylesheetSelect.value
|
window.document.selectedStyleSheetSet = stylesheetSelect.value
|
||||||
}
|
}
|
||||||
|
|
||||||
save() {
|
save() {
|
||||||
@ -499,6 +499,10 @@ class Settings {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.onload = function (event) {
|
||||||
|
window.document.selectedStyleSheetSet = stylesheetSelect.value
|
||||||
|
}
|
||||||
|
|
||||||
function changeKey(input) {
|
function changeKey(input) {
|
||||||
prevValue = input.value
|
prevValue = input.value
|
||||||
input.value = ""
|
input.value = ""
|
||||||
@ -835,10 +839,10 @@ let playerActions = {
|
|||||||
scheduler.clearTimeout(lockDown)
|
scheduler.clearTimeout(lockDown)
|
||||||
|
|
||||||
let heldPiece = holdQueue.piece
|
let heldPiece = holdQueue.piece
|
||||||
|
matrix.piece.facing = FACING.NORTH
|
||||||
holdQueue.piece = matrix.piece
|
holdQueue.piece = matrix.piece
|
||||||
holdQueue.piece.holdEnabled = false
|
holdQueue.piece.holdEnabled = false
|
||||||
holdQueue.piece.locked = false
|
holdQueue.piece.locked = false
|
||||||
holdQueue.piece.facing = FACING.NORTH
|
|
||||||
generate(heldPiece)
|
generate(heldPiece)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user