mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Fixed Spacing
This commit is contained in:
parent
34ed9af342
commit
d44cca032e
17 changed files with 18 additions and 29 deletions
|
|
@ -63,8 +63,8 @@ function moved() {
|
||||||
function showNotes(e, i) {
|
function showNotes(e, i) {
|
||||||
if (notesEditor.offsetParent) return;
|
if (notesEditor.offsetParent) return;
|
||||||
let id = e.target.id || e.target.parentNode.id || e.target.parentNode.parentNode.id;
|
let id = e.target.id || e.target.parentNode.id || e.target.parentNode.parentNode.id;
|
||||||
if (e.target.parentNode.parentNode.id === "burgLabels" || e.target.parentNode.parentNode.id === "burgIcons") id
|
if (e.target.parentNode.parentNode.id === "burgLabels" || e.target.parentNode.parentNode.id === "burgIcons")
|
||||||
= "burg" + e.target.dataset.id;
|
id = "burg" + e.target.dataset.id;
|
||||||
|
|
||||||
const note = notes.find(note => note.id === id);
|
const note = notes.find(note => note.id === id);
|
||||||
if (note !== undefined && note.legend !== "") {
|
if (note !== undefined && note.legend !== "") {
|
||||||
|
|
|
||||||
|
|
@ -127,5 +127,4 @@ function editNotes(id, name) {
|
||||||
if (!notes.length) {$("#notesEditor").dialog("close"); return;}
|
if (!notes.length) {$("#notesEditor").dialog("close"); return;}
|
||||||
editNotes(notes[0].id, notes[0].name);
|
editNotes(notes[0].id, notes[0].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -861,4 +861,3 @@ function editProvinces() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -343,5 +343,4 @@ function editRegiment(selector) {
|
||||||
restoreDefaultEvents();
|
restoreDefaultEvents();
|
||||||
elSelected = null;
|
elSelected = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -255,5 +255,4 @@ function editReliefIcon() {
|
||||||
unselect();
|
unselect();
|
||||||
clearMainTip();
|
clearMainTip();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -632,5 +632,4 @@ function editReligions() {
|
||||||
exitReligionsManualAssignment("close");
|
exitReligionsManualAssignment("close");
|
||||||
exitAddReligionMode();
|
exitAddReligionMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -288,5 +288,4 @@ function editRiver(id) {
|
||||||
debug.select("#controlPoints").remove();
|
debug.select("#controlPoints").remove();
|
||||||
unselect();
|
unselect();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -171,5 +171,4 @@ function overviewRivers() {
|
||||||
rivers.selectAll("*").remove();
|
rivers.selectAll("*").remove();
|
||||||
riversOverviewAddLines();
|
riversOverviewAddLines();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,4 @@ function editUnits() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -406,5 +406,4 @@ function editZones() {
|
||||||
unfog("focusZone"+zone);
|
unfog("focusZone"+zone);
|
||||||
zonesEditorAddLines();
|
zonesEditorAddLines();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue