mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
added UI for burg group filter
- Code for filtering burgs. - Added new pop up menu when clicking the button "reassign burgs".
This commit is contained in:
parent
9c206a3813
commit
64bc701809
4 changed files with 151 additions and 30 deletions
|
|
@ -204,6 +204,7 @@ function addBurg(point) {
|
|||
}
|
||||
|
||||
function moveBurgToGroup(id, g) {
|
||||
console.log("moveBurgToGroup(" + pack.burgs[id].name + ", " + g + ")");
|
||||
const label = document.querySelector("#burgLabels [data-id='" + id + "']");
|
||||
const icon = document.querySelector("#burgIcons [data-id='" + id + "']");
|
||||
const anchor = document.querySelector("#anchors [data-id='" + id + "']");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue