From 7a75c57fb40a7f958306dd842ab80d2111aa2af5 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 d377747d..aaa065e8 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 ) ) { @@ -795,7 +795,7 @@ styleShadowInput.on("input", function () { styleFontAdd.on("click", function () { addFontNameInput.value = ""; addFontURLInput.value = ""; - + $("#addFontDialog").dialog({ title: "Add custom font", width: "26em",