summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-23 14:39:39 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commita5d53cc99be9fa16839dfdd0132e70a5b655a6ad (patch)
tree658fc606ee0fddb26951861790f5109129619290
parent7ef28492e48d00464a8b8bcd8e79dc6952f40533 (diff)
downloadnevsky-a5d53cc99be9fa16839dfdd0132e70a5b655a6ad.tar.gz
Fix ELR marker.
-rw-r--r--images/marker_enemy_lords_removed_russian.pngbin7635 -> 7434 bytes
-rw-r--r--images/marker_enemy_lords_removed_teutonic.pngbin7434 -> 7635 bytes
-rw-r--r--play.html2
-rw-r--r--play.js4
4 files changed, 3 insertions, 3 deletions
diff --git a/images/marker_enemy_lords_removed_russian.png b/images/marker_enemy_lords_removed_russian.png
index 04dcd5c..a62e5dc 100644
--- a/images/marker_enemy_lords_removed_russian.png
+++ b/images/marker_enemy_lords_removed_russian.png
Binary files differ
diff --git a/images/marker_enemy_lords_removed_teutonic.png b/images/marker_enemy_lords_removed_teutonic.png
index a62e5dc..04dcd5c 100644
--- a/images/marker_enemy_lords_removed_teutonic.png
+++ b/images/marker_enemy_lords_removed_teutonic.png
Binary files differ
diff --git a/play.html b/play.html
index cb02569..f5bc61a 100644
--- a/play.html
+++ b/play.html
@@ -1065,7 +1065,7 @@ body.shift .mustered_vassals {
.marker.teutonic.victory { background-color: #ffd400; border-color: #fff64b #deb300 #deb300 #fff64b; box-shadow: 0 0 0 1px #805600, 1px 2px 4px #0008; }
.marker.teutonic.siege { background-color: #a39382; border-color: #c3b2a0 #857565 #857565 #c3b2a0; box-shadow: 0 0 0 1px #312416, 1px 2px 4px #0008; }
.marker.russian.conquered { background-color: #649655; border-color: #82b573 #477838 #477838 #82b573; box-shadow: 0 0 0 1px #002500, 1px 2px 4px #0008; }
-.marker.russian.enemy_lords_removed { background-color: #ffd400; border-color: #fff64b #deb300 #deb300 #fff64b; box-shadow: 0 0 0 1px #805600, 1px 2px 4px #0008; }
+.marker.teutonic.enemy_lords_removed { background-color: #ffd400; border-color: #fff64b #deb300 #deb300 #fff64b; box-shadow: 0 0 0 1px #805600, 1px 2px 4px #0008; }
.marker.russian.victory { background-color: #2d8b47; border-color: #4faa64 #006d2a #006d2a #4faa64; box-shadow: 0 0 0 1px #001a00, 1px 2px 4px #0008; }
.marker.walls { background-color: #e3dedc; border-color: #fffefc #c3bebc #c3bebc #fffefc; box-shadow: 0 0 0 1px #686362, 1px 2px 4px #0008; }
.marker.russian.number { background-color: #c6992f; border-color: #e7b954 #a67a00 #a67a00 #e7b954; box-shadow: 0 0 0 1px #4d2400, 1px 2px 4px #0008; }
diff --git a/play.js b/play.js
index e366273..f217cf6 100644
--- a/play.js
+++ b/play.js
@@ -1708,11 +1708,11 @@ function on_update() {
}
if (view.pieces.elr1)
- ui.elr1.classList = `marker circle enemy_lords_removed teutonic ${view.pieces.elr1}`
+ ui.elr1.classList = `marker circle enemy_lords_removed teutonic v${view.pieces.elr1}`
else
ui.elr1.classList = `marker circle enemy_lords_removed teutonic hide`
if (view.pieces.elr2)
- ui.elr2.classList = `marker circle enemy_lords_removed russian ${view.pieces.elr2}`
+ ui.elr2.classList = `marker circle enemy_lords_removed russian v${view.pieces.elr2}`
else
ui.elr2.classList = `marker circle enemy_lords_removed russian hide`