WIP: edge UI style

This commit is contained in:
2024-07-02 12:06:03 -07:00
parent 9f7be5d9c7
commit 23673cec8e
3 changed files with 7 additions and 10 deletions

View File

@@ -92,7 +92,7 @@ function clearMoveEndedIndicators(records) {
function distance(count = '-') {
distanceOutput.querySelector('#hex-count').textContent = count;
distanceOutput.style.visibility = count === '-' ? 'hidden' : 'visible';
distanceOutput.style.display = count === '-' ? 'none' : 'inline';
}
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random#getting_a_random_integer_between_two_values_inclusive