From 91dc16878eade53217a29f710f4b3603157157b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Montero=20Lamas?= Date: Sat, 26 Oct 2024 14:40:43 +0200 Subject: [PATCH] Stroke dash to cells (#1159) * style.js sorted items alphabetically * style.js added strokeDash to "cells" --- modules/ui/style.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/ui/style.js b/modules/ui/style.js index 49d1d8fb..3df79026 100644 --- a/modules/ui/style.js +++ b/modules/ui/style.js @@ -116,20 +116,20 @@ function selectStyleElement() { if ( [ "armies", - "routes", - "lakes", "biomes", "borders", - "cults", - "relig", "cells", "coastline", - "prec", + "coordinates", + "cults", + "gridOverlay", "ice", "icons", - "coordinates", - "zones", - "gridOverlay" + "lakes", + "prec", + "relig", + "routes", + "zones" ].includes(styleElement) ) { styleStroke.style.display = "block"; @@ -140,7 +140,7 @@ function selectStyleElement() { // stroke dash if ( - ["routes", "borders", "temperature", "legend", "population", "coordinates", "zones", "gridOverlay"].includes( + ["borders", "cells", "coordinates", "gridOverlay", "legend", "population", "routes", "temperature", "zones"].includes( styleElement ) ) { @@ -788,7 +788,7 @@ styleShadowInput.on("input", function () { styleFontAdd.on("click", function () { addFontNameInput.value = ""; addFontURLInput.value = ""; - + $("#addFontDialog").dialog({ title: "Add custom font", width: "26em",