diff --git a/index.html b/index.html index 72b79584..04e1c9ee 100644 --- a/index.html +++ b/index.html @@ -138,7 +138,7 @@ } - + @@ -4551,7 +4551,9 @@
State 
-
Burgs 
+
+ Burgs  +
Area 
Population  @@ -4566,7 +4568,7 @@
Burgs: 0 -
+
Mean area: 0
@@ -8020,7 +8022,7 @@ - + @@ -8033,12 +8035,12 @@ - + - + @@ -8046,7 +8048,7 @@ - + @@ -8055,17 +8057,17 @@ - + - + - - + + @@ -8078,12 +8080,12 @@ - + - + @@ -8093,14 +8095,14 @@ - + - + diff --git a/main.js b/main.js index 5d054fd7..0fa7f790 100644 --- a/main.js +++ b/main.js @@ -138,6 +138,7 @@ fogging .attr("filter", "url(#splotch)"); // assign events separately as not a viewbox child +scaleBar.on("mousemove", () => tip("Click to open Units Editor")).on("click", () => editUnits()); legend .on("mousemove", () => tip("Drag to change the position. Click to hide the legend")) .on("click", () => clearLegend()); diff --git a/modules/io/load.js b/modules/io/load.js index 93650c78..319c1ffb 100644 --- a/modules/io/load.js +++ b/modules/io/load.js @@ -447,6 +447,7 @@ async function parseLoadedData(data, mapVersion) { })(); void (function restoreEvents() { + scaleBar.on("mousemove", () => tip("Click to open Units Editor")).on("click", () => editUnits()); legend .on("mousemove", () => tip("Drag to change the position. Click to hide the legend")) .on("click", () => clearLegend()); @@ -455,7 +456,7 @@ async function parseLoadedData(data, mapVersion) { { // dynamically import and run auto-update script const versionNumber = parseFloat(params[0]); - const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.95.00"); + const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.96.00"); resolveVersionConflicts(versionNumber); } diff --git a/modules/ui/editors.js b/modules/ui/editors.js index d42e4a28..368229ac 100644 --- a/modules/ui/editors.js +++ b/modules/ui/editors.js @@ -1176,18 +1176,18 @@ function refreshAllEditors() { // dynamically loaded editors async function editStates() { if (customization) return; - const Editor = await import("../dynamic/editors/states-editor.js?v=1.93.10"); + const Editor = await import("../dynamic/editors/states-editor.js?v=1.96.00"); Editor.open(); } async function editCultures() { if (customization) return; - const Editor = await import("../dynamic/editors/cultures-editor.js?v=1.95.04"); + const Editor = await import("../dynamic/editors/cultures-editor.js?v=1.96.00"); Editor.open(); } async function editReligions() { if (customization) return; - const Editor = await import("../dynamic/editors/religions-editor.js?v=1.89.10"); + const Editor = await import("../dynamic/editors/religions-editor.js?v=1.96.00"); Editor.open(); } diff --git a/modules/ui/options.js b/modules/ui/options.js index 26725f58..8442bac5 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -691,7 +691,7 @@ function changeEra() { } async function openTemplateSelectionDialog() { - const HeightmapSelectionDialog = await import("../dynamic/heightmap-selection.js?v=1.93.12"); + const HeightmapSelectionDialog = await import("../dynamic/heightmap-selection.js?v=1.96.00"); HeightmapSelectionDialog.open(); }