summaryrefslogtreecommitdiff
path: root/sw-ui
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-05-26 02:38:41 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-05-26 02:38:41 +0200
commite5fda8ca915a4d6bd9d3e635b675aa9bc9e6c114 (patch)
tree61dd427a19234db373b6e2e526f3caf47594ed2f /sw-ui
parentAdd missing slash for alternative resources (diff)
downloadseven-wonders-e5fda8ca915a4d6bd9d3e635b675aa9bc9e6c114.tar.gz
seven-wonders-e5fda8ca915a4d6bd9d3e635b675aa9bc9e6c114.tar.bz2
seven-wonders-e5fda8ca915a4d6bd9d3e635b675aa9bc9e6c114.zip
Fix player positions in lobby
Diffstat (limited to 'sw-ui')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt
index 60962927..b40e622b 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt
@@ -27,7 +27,8 @@ fun RBuilder.radialPlayerList(players: List<PlayerDTO>, currentPlayer: PlayerDTO
itemHeight = 100,
options = RadialConfig(
radius = 175,
- firstItemAngleDegrees = 180 // self at the bottom
+ firstItemAngleDegrees = 180, // self at the bottom
+ direction = Direction.COUNTERCLOCKWISE // new players sit to the right of last player
)
)
}
bgstack15