From e4590f56bc205447f7092c8c940e21f2f0ca12b9 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 31 Oct 2025 01:15:59 +0100 Subject: [PATCH] fix: ophtograthy --- modules/ui/3d.js | 2 -- modules/ui/style-presets.js | 2 +- styles/ancient.json | 18 +++++++++--------- styles/gloom.json | 18 +++++++++--------- styles/light.json | 18 +++++++++--------- 5 files changed, 28 insertions(+), 30 deletions(-) diff --git a/modules/ui/3d.js b/modules/ui/3d.js index 85151c68..53314202 100644 --- a/modules/ui/3d.js +++ b/modules/ui/3d.js @@ -300,8 +300,6 @@ window.ThreeD = (function () { const states = viewbox.select("#labels #states"); const city = burgLabels.select("#city"); const town = burgLabels.select("#town"); - const city_icons = burgIcons.select("#city"); - const town_icons = burgIcons.select("#town"); const stateOptions = { font: states.attr("font-family"), diff --git a/modules/ui/style-presets.js b/modules/ui/style-presets.js index e022da86..f1b6b167 100644 --- a/modules/ui/style-presets.js +++ b/modules/ui/style-presets.js @@ -352,7 +352,7 @@ function addStylePreset() { "stroke-dasharray", "stroke-linecap", "stroke-linejoin", - "fitler" + "filter" ]; const anchorsAttributes = ["opacity", "fill", "font-size", "stroke", "stroke-width", "filter"]; options.burgs.groups.forEach(({name}) => { diff --git a/styles/ancient.json b/styles/ancient.json index 605a0d07..d6ed402c 100644 --- a/styles/ancient.json +++ b/styles/ancient.json @@ -347,7 +347,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#capital": { "opacity": 1, @@ -377,7 +377,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#city": { "opacity": 1, @@ -407,7 +407,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#fort": { "opacity": 1, @@ -437,7 +437,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#monastery": { "opacity": 1, @@ -467,7 +467,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#caravanserai": { "opacity": 1, @@ -497,7 +497,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#trading_post": { "opacity": 1, @@ -527,7 +527,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#village": { "opacity": 1, @@ -557,7 +557,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#hamlet": { "opacity": 1, @@ -587,7 +587,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#town": { "opacity": 1, diff --git a/styles/gloom.json b/styles/gloom.json index 702a608b..f06a67db 100644 --- a/styles/gloom.json +++ b/styles/gloom.json @@ -355,7 +355,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#capital": { "opacity": 1, @@ -389,7 +389,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#city": { "opacity": 1, @@ -423,7 +423,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#fort": { "opacity": 1, @@ -457,7 +457,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#monastery": { "opacity": 1, @@ -491,7 +491,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#caravanserai": { "opacity": 1, @@ -525,7 +525,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#trading_post": { "opacity": 1, @@ -559,7 +559,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#village": { "opacity": 1, @@ -593,7 +593,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#hamlet": { "opacity": 1, @@ -627,7 +627,7 @@ "stroke-dasharray": null, "stroke-linecap": "round", "stroke-linejoin": "round", - "fitler": null + "filter": null }, "#anchors > g#town": { "opacity": 1, diff --git a/styles/light.json b/styles/light.json index ed6a638c..c28bbd97 100644 --- a/styles/light.json +++ b/styles/light.json @@ -352,7 +352,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#capital": { "opacity": 1, @@ -386,7 +386,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#city": { "opacity": 1, @@ -420,7 +420,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#fort": { "opacity": 1, @@ -454,7 +454,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#monastery": { "opacity": 1, @@ -488,7 +488,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#caravanserai": { "opacity": 1, @@ -522,7 +522,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#trading_post": { "opacity": 1, @@ -556,7 +556,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#village": { "opacity": 1, @@ -590,7 +590,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#hamlet": { "opacity": 1, @@ -624,7 +624,7 @@ "stroke-dasharray": null, "stroke-linecap": "butt", "stroke-linejoin": null, - "fitler": null + "filter": null }, "#anchors > g#town": { "opacity": 1,