From 549eefe7ba202e04c43eba9ee3bffd8c9c0fb38f Mon Sep 17 00:00:00 2001 From: Azgaar Date: Fri, 29 Jan 2021 23:41:43 +0300 Subject: [PATCH] v1.5.04 - Emblems layer and on map placement --- index.css | 11 +++- index.html | 63 ++++++++++++++++++++- main.js | 9 +-- modules/burgs-and-states.js | 27 +++++---- modules/coa-generator.js | 11 ++-- modules/cultures-generator.js | 28 ++++++++- modules/ui/coa-editor.js | 42 ++++++++++++-- modules/ui/editors.js | 3 +- modules/ui/general.js | 11 +++- modules/ui/layers.js | 103 +++++++++++++++++++++++++++++----- modules/ui/options.js | 13 +++++ modules/ui/style.js | 2 + 12 files changed, 276 insertions(+), 47 deletions(-) diff --git a/index.css b/index.css index cb989590..b5df6d00 100644 --- a/index.css +++ b/index.css @@ -101,7 +101,7 @@ button, select, a, .pointer { fill-rule: evenodd; } -#lakes, #coastline, #armies, #ice { +#lakes, #coastline, #armies, #ice, #emblems { cursor: pointer; } @@ -707,6 +707,15 @@ fieldset { width: 6%; } +.emblemShapePreview { + width: 1.5em; + height: 1.5em; + margin: -.4em .1em; + fill: #fff; + stroke: #000; + stroke-width: 5px; +} + #styleContent table { border-spacing: 0; margin-left: .2em; diff --git a/index.html b/index.html index db2f0795..7890c3ce 100644 --- a/index.html +++ b/index.html @@ -956,6 +956,7 @@
  • Population
  • Ice
  • Precipitation
  • +
  • Emblems
  • Labels
  • Icons
  • Military
  • @@ -994,6 +995,7 @@ + @@ -1735,6 +1737,65 @@ + + + + + + Emblem shape + + + + + + +

    Generator settings:

    @@ -1799,7 +1860,7 @@ -