Stroke dash to cells (#1159)

* style.js sorted items alphabetically

* style.js added strokeDash to "cells"
This commit is contained in:
Ángel Montero Lamas 2024-10-26 14:40:43 +02:00 committed by GitHub
parent 1706fa0981
commit 91dc16878e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,20 +116,20 @@ function selectStyleElement() {
if ( if (
[ [
"armies", "armies",
"routes",
"lakes",
"biomes", "biomes",
"borders", "borders",
"cults",
"relig",
"cells", "cells",
"coastline", "coastline",
"prec", "coordinates",
"cults",
"gridOverlay",
"ice", "ice",
"icons", "icons",
"coordinates", "lakes",
"zones", "prec",
"gridOverlay" "relig",
"routes",
"zones"
].includes(styleElement) ].includes(styleElement)
) { ) {
styleStroke.style.display = "block"; styleStroke.style.display = "block";
@ -140,7 +140,7 @@ function selectStyleElement() {
// stroke dash // stroke dash
if ( if (
["routes", "borders", "temperature", "legend", "population", "coordinates", "zones", "gridOverlay"].includes( ["borders", "cells", "coordinates", "gridOverlay", "legend", "population", "routes", "temperature", "zones"].includes(
styleElement styleElement
) )
) { ) {
@ -788,7 +788,7 @@ styleShadowInput.on("input", function () {
styleFontAdd.on("click", function () { styleFontAdd.on("click", function () {
addFontNameInput.value = ""; addFontNameInput.value = "";
addFontURLInput.value = ""; addFontURLInput.value = "";
$("#addFontDialog").dialog({ $("#addFontDialog").dialog({
title: "Add custom font", title: "Add custom font",
width: "26em", width: "26em",