summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/play.js b/play.js
index 51f4122..693c177 100644
--- a/play.js
+++ b/play.js
@@ -1373,10 +1373,14 @@ function update_map() {
}
let vpm = document.getElementById("vp_marker");
- if (view.vp > 10)
+ if (view.vp > 20)
+ vpm.className = VP10_MARKER + "french_vp_10";
+ else if (view.vp > 10)
vpm.className = VP10_MARKER + "french_vp_" + (view.vp-10);
else if (view.vp > 0)
vpm.className = VP_MARKER + "french_vp_" + view.vp;
+ else if (view.vp < -20)
+ vpm.className = VP10_MARKER + "flip british_vp_10";
else if (view.vp < -10)
vpm.className = VP10_MARKER + "flip british_vp_" + (-(view.vp+10));
else if (view.vp < 0)