summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index b3b3d95..d198f0a 100644
--- a/play.js
+++ b/play.js
@@ -1610,7 +1610,7 @@ function on_update() {
ui.fortress.classList.toggle("york", fortress < 0)
ui.fortress.classList.toggle("lancaster", fortress >= 0)
- ui.influence.style.top = (track_xy[Math.min(45,Math.abs(view.influence))][1]) + "px"
+ ui.influence.style.top = (track_xy[Math.min(45,Math.abs(view.influence))][1] - 20) + "px"
ui.influence.style.left = (track_xy[Math.min(45,Math.abs(view.influence))][0]) + "px"
ui.influence.classList.toggle("york", view.influence < 0)
ui.influence.classList.toggle("lancaster", view.influence >= 0)