diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-12 01:45:05 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-08-12 01:45:05 +0200 |
commit | 07ea64c3b9e5a9a6ac4831baf542d44c820b9148 (patch) | |
tree | 977a4a3267f011d6bcf60c3724c0b7f1cbba3e1a /sw-ui/src | |
parent | Change font to Acme for token counts (diff) | |
download | seven-wonders-07ea64c3b9e5a9a6ac4831baf542d44c820b9148.tar.gz seven-wonders-07ea64c3b9e5a9a6ac4831baf542d44c820b9148.tar.bz2 seven-wonders-07ea64c3b9e5a9a6ac4831baf542d44c820b9148.zip |
Display only victory military points on the board next to victory tokens
The count displayed used to be the total combined number of points including defeat tokens,
but this is a bit confusing as we can see both types of tokens next to each other.
Diffstat (limited to 'sw-ui/src')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt index 30efc894..011ce732 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/Board.kt @@ -113,7 +113,7 @@ private fun RBuilder.wonderComponent(wonder: ApiWonder, military: Military) { this.alt = "Wonder ${wonder.name}" } } - victoryPoints(military.totalPoints) { + victoryPoints(military.victoryPoints) { css { position = Position.absolute top = 25.pct // below the wonder name |