From 78f3b2bb5b7c849dbc93d2f3d14d91344cf20a3f Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 12 Sep 2019 01:42:52 +0300 Subject: [PATCH] v1.0.22 --- index.css | 2 +- modules/ui/options.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.css b/index.css index 6b09d2e3..72c73f88 100644 --- a/index.css +++ b/index.css @@ -415,7 +415,7 @@ input[type="color"]::-webkit-color-swatch-wrapper { border: 0; text-align: right; background-color: transparent; - width: 30px; + width: 3.3em; -moz-appearance: textfield; } diff --git a/modules/ui/options.js b/modules/ui/options.js index fc3f2b41..99aa7116 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -678,7 +678,7 @@ optionsContent.addEventListener("input", function(event) { else if (id === "neutralOutput") neutralInput.value = value; else if (id === "manorsInput") changeBurgsNumberSlider(value); else if (id === "religionsInput") religionsOutput.value = value; - else if (id === "uiSizeInput" || id === "uiSizeOutput") changeUIsize(value); + else if (id === "uiSizeInput") uiSizeOutput.value = value; else if (id === "tooltipSizeInput" || id === "tooltipSizeOutput") changeTooltipSize(value); else if (id === "transparencyInput") changeDialogsTransparency(value); else if (id === "pngResolutionInput") pngResolutionOutput.value = value; @@ -690,6 +690,7 @@ optionsContent.addEventListener("change", function(event) { const id = event.target.id, value = event.target.value; if (id === "zoomExtentMin" || id === "zoomExtentMax") changeZoomExtent(value); else if (id === "optionsSeed") generateMapWithSeed(); + else if (id === "uiSizeInput" || id === "uiSizeOutput") changeUIsize(value); }); optionsContent.addEventListener("click", function(event) {