mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
state only borders + watercolor style
This commit is contained in:
parent
44b3911e65
commit
687dedfe1b
9 changed files with 279 additions and 191 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue