mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
refactor(styles): update burg styles for presets
This commit is contained in:
parent
4a08f617bb
commit
c16d292304
18 changed files with 230 additions and 1785 deletions
6
main.js
6
main.js
|
|
@ -527,12 +527,6 @@ function invokeActiveZooming() {
|
|||
});
|
||||
}
|
||||
|
||||
// turn off ocean pattern if scale is big (improves performance)
|
||||
oceanPattern
|
||||
.select("rect")
|
||||
.attr("fill", scale > 10 ? "#fff" : "url(#oceanic)")
|
||||
.attr("opacity", scale > 10 ? 0.2 : null);
|
||||
|
||||
// change states halo width
|
||||
if (!customization && !isOptimized) {
|
||||
const desired = +statesHalo.attr("data-width");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue