From 5cf0f06bb87fdd55dbba72c5808cf87d9933e27d Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 1 Jul 2020 23:41:44 +0200 Subject: Rename sidebar -> setup panel --- .../kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw-ui/src') diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt index 763898b3..6b652a4e 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Lobby.kt @@ -51,7 +51,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent(props) radialPlayerList(currentGame.players, currentPlayer) actionButtons(currentPlayer, currentGame) if (currentPlayer.isGameOwner) { - sideBar(currentGame) + setupPanel(currentGame) } } } @@ -89,7 +89,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent(props) } } - private fun RBuilder.sideBar(currentGame: LobbyDTO) { + private fun RBuilder.setupPanel(currentGame: LobbyDTO) { styledDiv { css { position = Position.fixed @@ -97,7 +97,7 @@ class LobbyPresenter(props: LobbyProps) : RComponent(props) right = 1.rem width = 15.rem } - bpCard(Elevation.ONE) { + bpCard(Elevation.TWO) { styledH2 { css { margin(top = 0.px) -- cgit