Merge pull request #127 from GGodPL/main
This commit is contained in:
commit
82b7f0951a
|
|
@ -16,18 +16,6 @@ settingsTab.registerSettings("Selection settings", transparentSelection);
|
||||||
|
|
||||||
settingsManager.registerTab(settingsTab);
|
settingsManager.registerTab(settingsTab);
|
||||||
|
|
||||||
runAfterLoadList.push(() => {
|
|
||||||
// the game doesn't load without the setTimeout
|
|
||||||
setTimeout(() => {
|
|
||||||
// well apparently the game crashes anyway
|
|
||||||
try {
|
|
||||||
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)
|
|
||||||
})
|
|
||||||
|
|
||||||
// current selection
|
// current selection
|
||||||
let selection_ = {
|
let selection_ = {
|
||||||
start: {},
|
start: {},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue