From 7b8ffd025f88d9331364c8ab2e6f7dfd927cc437 Mon Sep 17 00:00:00 2001 From: Issac411 <32576484+Issac411@users.noreply.github.com> Date: Sun, 19 Jan 2025 23:29:27 +0100 Subject: [PATCH] custom pictures for regiments (#1183) * forms and ajustements * variable size for style as requested --- index.css | 4 +++ index.html | 7 +++- modules/io/load.js | 15 +++++++- modules/renderers/draw-military.js | 24 ++++++++++++- modules/ui/editors.js | 57 +++++++++++++++++++++++++----- modules/ui/regiment-editor.js | 22 +++++++++--- picList.txt | 3 ++ 7 files changed, 117 insertions(+), 15 deletions(-) create mode 100644 picList.txt diff --git a/index.css b/index.css index 0244eb23..1054e52c 100644 --- a/index.css +++ b/index.css @@ -186,6 +186,10 @@ t, font-size: 0.8em; } +.regimentImage { + object-fit: contain; +} + #statesHalo { fill: none; stroke-linecap: round; diff --git a/index.html b/index.html index 9d8c9538..ef8297f8 100644 --- a/index.html +++ b/index.html @@ -5773,9 +5773,14 @@
Select from the list or paste a Unicode character here: - + . See Emojipedia for reference
+ + You can past a regiment picture link here: + + +