diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-26 02:38:41 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-05-26 02:38:41 +0200 |
commit | e5fda8ca915a4d6bd9d3e635b675aa9bc9e6c114 (patch) | |
tree | 61dd427a19234db373b6e2e526f3caf47594ed2f /sw-ui | |
parent | Add missing slash for alternative resources (diff) | |
download | seven-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.kt | 3 |
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 ) ) } |