diff --git a/index.css b/index.css
index 0fce363c..5308deed 100644
--- a/index.css
+++ b/index.css
@@ -114,7 +114,7 @@ button, select, a, .pointer {
fill-rule: evenodd;
}
-#oceanLayers {
+#oceanLayers, #terrs {
fill-rule: evenodd;
}
diff --git a/index.html b/index.html
index 02f547f0..c3efcd13 100644
--- a/index.html
+++ b/index.html
@@ -2870,7 +2870,7 @@
-
+
diff --git a/main.js b/main.js
index a2b40674..1e44a558 100644
--- a/main.js
+++ b/main.js
@@ -343,7 +343,8 @@ function showWelcomeMessage() {
${post}
- Battle simulation
- Ice layer and Ice editor
- - Route Elevation profile
+ - Route and River Elevation profile
+ - Image Converter enhancement
- Name generator improvement
- Fogging style change
diff --git a/modules/ui/states-editor.js b/modules/ui/states-editor.js
index 2f1d5800..de0da9e9 100644
--- a/modules/ui/states-editor.js
+++ b/modules/ui/states-editor.js
@@ -215,8 +215,7 @@ function editStates() {
}
function editStateName(state) {
-
- //Reset input value and close add mode
+ // reset input value and close add mode
stateNameEditorCustomForm.value = "";
const addModeActive = stateNameEditorCustomForm.style.display === "inline-block";
if (addModeActive) {
@@ -244,6 +243,7 @@ function editStates() {
document.getElementById("stateNameEditorShortCulture").addEventListener("click", regenerateShortNameCuture);
document.getElementById("stateNameEditorShortRandom").addEventListener("click", regenerateShortNameRandom);
document.getElementById("stateNameEditorAddForm").addEventListener("click", addCustomForm);
+ document.getElementById("stateNameEditorCustomForm").addEventListener("change", addCustomForm);
document.getElementById("stateNameEditorFullRegenerate").addEventListener("click", regenerateFullName);
function regenerateShortNameCuture() {
@@ -264,7 +264,7 @@ function editStates() {
const addModeActive = stateNameEditorCustomForm.style.display === "inline-block";
stateNameEditorCustomForm.style.display = addModeActive ? "none" : "inline-block";
stateNameEditorSelectForm.style.display = addModeActive ? "inline-block" : "none";
- if (addModeActive) applyOption(stateNameEditorSelectForm, value);
+ if (value && addModeActive) applyOption(stateNameEditorSelectForm, value);
stateNameEditorCustomForm.value = "";
}