mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
Stroke dash to cells (#1159)
* style.js sorted items alphabetically * style.js added strokeDash to "cells"
This commit is contained in:
parent
1706fa0981
commit
91dc16878e
1 changed files with 10 additions and 10 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue