mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.3.02a
This commit is contained in:
parent
8d7f95e2f3
commit
cba011282d
11 changed files with 215 additions and 130 deletions
|
|
@ -693,6 +693,8 @@ function addDefaulsStyles() {
|
|||
|
||||
// set default style
|
||||
function applyDefaultStyle() {
|
||||
armies.attr("font-size", 6).attr("data-size", 3);
|
||||
|
||||
biomes.attr("opacity", null).attr("filter", null).attr("mask", null);
|
||||
stateBorders.attr("opacity", .8).attr("stroke", "#56566d").attr("stroke-width", 1).attr("stroke-dasharray", "2").attr("stroke-linecap", "butt").attr("filter", null);
|
||||
provinceBorders.attr("opacity", .8).attr("stroke", "#56566d").attr("stroke-width", .2).attr("stroke-dasharray", "1").attr("stroke-linecap", "butt").attr("filter", null);
|
||||
|
|
@ -742,7 +744,7 @@ function applyDefaultStyle() {
|
|||
// ocean and svg default style
|
||||
svg.attr("background-color", "#000000").attr("data-filter", null).attr("filter", null);
|
||||
ocean.attr("opacity", null);
|
||||
oceanLayers.select("rect").attr("fill", "#53679f");
|
||||
oceanLayers.select("rect").attr("fill", "#466eab"); // old color #53679f
|
||||
oceanLayers.attr("filter", null).attr("layers", "-6,-3,-1");
|
||||
oceanPattern.attr("opacity", null);
|
||||
svg.select("#oceanicPattern").attr("filter", "url(#pattern1)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue