summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/play.js b/play.js
index 725f1ad..0083dfd 100644
--- a/play.js
+++ b/play.js
@@ -243,8 +243,10 @@ const ELECTORAL_COLLEGE_X = 526
const ELECTORAL_COLLEGE_Y = 1574
const ELECTORAL_COLLEGE_DX = 52
-const HUSSAR_X = 2190
-const HUSSAR_Y = 1630
+const HUSSAR_X = 2485 - 36
+const HUSSAR_Y = 960
+const HUSSAR_DX = 0
+const HUSSAR_DY = -48
const VICTORY_BOX_X = [ 115, 170, 235 ]
const VICTORY_BOX_Y = [ 235, 290, 345, 401 ]
@@ -916,8 +918,8 @@ function layout_hussar(id, s) {
y = data.cities.y[s]
}
- e.style.left = (x - 21 + n * ELIMINATED_GENERAL_DX) + "px"
- e.style.top = (y - 29 + 7) + "px"
+ e.style.left = (x - 21 + n * HUSSAR_DX) + "px"
+ e.style.top = (y - 29 + 7 + n * HUSSAR_DY) + "px"
e.classList.toggle("selected", set_has(view.selected, id))
}