mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Fix a few more bugs and address the PR feedback
This commit is contained in:
parent
17426fd585
commit
5c727484bf
7 changed files with 24 additions and 55 deletions
|
|
@ -1369,12 +1369,6 @@ function updateLockStatus(stateId, classList) {
|
|||
const s = pack.states[stateId];
|
||||
s.lock = !s.lock;
|
||||
|
||||
if (s.lock) {
|
||||
classList.remove("icon-lock-open");
|
||||
classList.add("icon-lock");
|
||||
}
|
||||
else {
|
||||
classList.remove("icon-lock");
|
||||
classList.add("icon-lock-open");
|
||||
}
|
||||
classList.toggle("icon-lock-open");
|
||||
classList.toggle("icon-lock");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue