summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html14
-rw-r--r--play.js2
2 files changed, 8 insertions, 8 deletions
diff --git a/play.html b/play.html
index b0a9b7c..5054d5a 100644
--- a/play.html
+++ b/play.html
@@ -70,13 +70,13 @@
<div id="battle" class="hide" style="z-index:50"></div>
</div>
-<div id="turn" class="marker circle turn levy"></div>
-<div id="end" class="marker circle end"></div>
-<div id="victory_check" class="marker square victory_check"></div>
-<div id="towns" class="marker square towns"></div>
-<div id="cities" class="marker square cities"></div>
-<div id="fortresses" class="marker square fortresses"></div>
-<div id="ip" class="marker square ip"></div>
+<div id="end" class="marker circle end" style="left: 243px; top: 132px;"></div>
+<div id="turn" class="marker circle turn levy" style="left: 243px; top: 132px;"></div>
+<div id="victory_check" class="marker square victory_check" style="left: 1202px; top: 865px;"></div>
+<div id="towns" class="marker square towns" style="left: 21px; top: 1574px;"></div>
+<div id="cities" class="marker square cities" style="left: 21px; top: 1574px;"></div>
+<div id="fortresses" class="marker square fortresses" style="left: 21px; top: 1574px;"></div>
+<div id="ip" class="marker square ip" style="left: 21px; top: 1574px;"></div>
</div>
</div>
diff --git a/play.js b/play.js
index 4b3eb18..dec6038 100644
--- a/play.js
+++ b/play.js
@@ -415,7 +415,7 @@ for (let i = 0; i <= 45; ++i) {
x = 1205 + 22
y = 1577 - (i-25) * 47.25 + 22
}
- TRACK_XY[i] = [ x, y ]
+ TRACK_XY[i] = [ Math.round(x), Math.round(y) ]
}
const CALENDAR_XY = [