From e86adc8d0417c1f2eb9d88758df3888aa3c10dd2 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Mon, 20 Sep 2021 02:29:50 +0300 Subject: [PATCH] markers rework - editor functions --- index.css | 10 +- index.html | 85 ++++++---- main.js | 49 +++++- modules/markers-generator.js | 292 +++++++++++++++++++++++++++++++++-- modules/ui/editors.js | 77 ++++++++- modules/ui/layers.js | 59 ++++--- modules/ui/markers-editor.js | 254 ++++++++++++++---------------- modules/ui/tools.js | 21 ++- 8 files changed, 633 insertions(+), 214 deletions(-) diff --git a/index.css b/index.css index a6e8e762..eb831a3d 100644 --- a/index.css +++ b/index.css @@ -232,8 +232,7 @@ i.icon-lock { } #routeEditor > *, -#labelEditor div, -#markerEditor div { +#labelEditor div { display: inline-block; } @@ -1519,7 +1518,8 @@ div.states > .coaIcon > use { #stateNameEditor div.label, #provinceNameEditor div.label, -#regimentBody div.label { +#regimentBody div.label, +#markerEditor div.label { display: inline-block; width: 5.5em; } @@ -1968,10 +1968,6 @@ div.textual span, dominant-baseline: central; } -#markerEditor > button { - vertical-align: top; -} - .highlighted { outline-width: 2px; outline-style: dashed; diff --git a/index.html b/index.html index 9c892aa3..24005ede 100644 --- a/index.html +++ b/index.html @@ -2026,39 +2026,66 @@