+
+
+
+
+ 10
+ 8
+
+
+ 9
+ 8
+
+
+ 8
+ 8
+
+
+ 7
+ 8
+ +1
+
+
+ 6
+ 7
+ +1
+
+
+ 5
+ 7
+ +2
+
+
+ 4
+ 6
+ +2
+
+
+ 3
+ 6
+ +2
+
+
+ 2
+ 5
+ +3
+
+
+ 1
+ 4
+ +3
+
+
+ 0
+ None
+ 0
+
+
+ DEAD
+
+
+
+
+ Troop Number
+ 1
+ Squad Number
+ 1
+
+ Primary Weapon Type
+ Rifle
+
+
+ - Damage
+ 4L
+
+ - Short
+ 1-27
+
+ - Long
+ 28-75
+
+
+
+ Hand Grenades
+
+
+
+
+
+
+
+
-
-
- Turn:
-
- 0
- ◓
- ◒
-
-
-
-
-
+
+
+
+ Turn:
+
+ 0
+ ◓
+ ◒
+
+
+
+
+
+
+
+ Prone:
+
+
+
+
+
+
-
- Prone:
-
-
+
+
+
-
+
+
+
-
-
-
diff --git a/src/index.js b/src/index.js
index bb299be..07dffa0 100644
--- a/src/index.js
+++ b/src/index.js
@@ -17,7 +17,7 @@ if (window.IS_DEV) {
const mapPlaceholder = document.querySelector('.map-placeholder'),
distanceOutput = document.getElementById('status'),
proneToggle = document.getElementById('toggle-prone-counter'),
- contentVisToggleEl = document.querySelector('#content input[type="checkbox"].visible'),
+ contentVisToggleEl = document.querySelector('#edge-inputs input[type="checkbox"].visible'),
// fileName = localStorage.getItem('map') || 'scenario-side_show',
fileName = localStorage.getItem('map') || 'radial',
map = scenarios[fileName]?.hashed || `assets/images/${fileName}.svg`,
@@ -92,7 +92,7 @@ function clearMoveEndedIndicators(records) {
function distance(count = '-') {
distanceOutput.querySelector('#hex-count').textContent = count;
- distanceOutput.style.display = count === '-' ? 'none' : 'block';
+ distanceOutput.style.visibility = count === '-' ? 'hidden' : 'visible';
}
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random#getting_a_random_integer_between_two_values_inclusive
--
cgit v1.2.3