state only borders + watercolor style

This commit is contained in:
Azgaar 2021-07-10 20:08:30 +03:00
parent 44b3911e65
commit 687dedfe1b
9 changed files with 279 additions and 191 deletions

View file

@ -681,7 +681,7 @@ function parseLoadedData(data) {
}
if (version < 1.63) {
// v.1.63 change ocean pattern opacity element
// v.1.63 changed ocean pattern opacity element
const oceanPattern = document.getElementById("oceanPattern");
if (oceanPattern) oceanPattern.removeAttribute("opacity");
const oceanicPattern = document.getElementById("oceanicPattern");
@ -693,6 +693,14 @@ function parseLoadedData(data) {
labels.select("#states").style("text-shadow", "white 0 0 4px");
labels.select("#addedLabels").style("text-shadow", "white 0 0 4px");
}
if (version < 1.64) {
// v.1.64 change states style
const bodyOpacity = regions.attr("opacity");
statesBody.attr("opacity", bodyOpacity);
statesHalo.attr("opacity", bodyOpacity).attr("filter", "blur(5px)");
regions.removeAttribute("opacity");
}
})();
void (function checkDataIntegrity() {