From 33fbfc2e48e658143dfe0af6888a4a41ecb304bc Mon Sep 17 00:00:00 2001 From: Azgaar Date: Mon, 26 Aug 2024 19:21:15 +0200 Subject: [PATCH] feat: style - allow clip setting for prec and population layers --- index.html | 2 +- modules/ui/style.js | 18 ++++++++++-------- versioning.js | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 34c1427b..6ebf0223 100644 --- a/index.html +++ b/index.html @@ -8018,7 +8018,7 @@ - + diff --git a/modules/ui/style.js b/modules/ui/style.js index aa481ad1..fb62a8e5 100644 --- a/modules/ui/style.js +++ b/modules/ui/style.js @@ -147,15 +147,17 @@ function selectStyleElement() { // clipping if ( [ - "cells", - "gridOverlay", - "coordinates", - "compass", - "terrain", - "temperature", - "routes", - "texture", "biomes", + "cells", + "compass", + "coordinates", + "gridOverlay", + "population", + "prec", + "routes", + "temperature", + "terrain", + "texture", "zones" ].includes(styleElement) ) { diff --git a/versioning.js b/versioning.js index ce4aa000..0400cfb8 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.99.11"; // generator version, update each time +const version = "1.99.12"; // generator version, update each time { document.title += " v" + version;