Update editTools.js
This commit is contained in:
parent
01a5877dfc
commit
06f59eeca8
|
|
@ -19,9 +19,12 @@ settingsManager.registerTab(settingsTab);
|
||||||
runAfterLoadList.push(() => {
|
runAfterLoadList.push(() => {
|
||||||
// the game doesn't load without the setTimeout
|
// the game doesn't load without the setTimeout
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.getElementById("elementButton-select").style.backgroundColor = "transparent";
|
// well apparently the game crashes anyway
|
||||||
document.getElementById("elementButton-select").style.border = "2px dashed rgba(255, 255, 255, 0.75)";
|
try {
|
||||||
document.getElementById("elementButton-select").classList = ["elementButton"];
|
document.getElementById("elementButton-select").style.backgroundColor = "transparent";
|
||||||
|
document.getElementById("elementButton-select").style.border = "2px dashed rgba(255, 255, 255, 0.75)";
|
||||||
|
document.getElementById("elementButton-select").classList = ["elementButton"];
|
||||||
|
} catch (_) {}
|
||||||
}, 1)
|
}, 1)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue