diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-22 19:40:21 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-22 19:40:21 +0100 |
commit | 894cbd27c4d7363dc1fba56bf1139c44d5c118c5 (patch) | |
tree | b57c6c3e765a144d8d09be91e172abc5cf35d20e /sw-ui/src/main/kotlin/org/luxons | |
parent | Cleanup radial player list (diff) | |
download | seven-wonders-894cbd27c4d7363dc1fba56bf1139c44d5c118c5.tar.gz seven-wonders-894cbd27c4d7363dc1fba56bf1139c44d5c118c5.tar.bz2 seven-wonders-894cbd27c4d7363dc1fba56bf1139c44d5c118c5.zip |
Clarify lobby table name
Diffstat (limited to 'sw-ui/src/main/kotlin/org/luxons')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/RadialPlayerList.kt | 2 | ||||
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Table.kt | 2 |
2 files changed, 2 insertions, 2 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 a5d5dd76..fc238956 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 @@ -22,7 +22,7 @@ fun RBuilder.radialPlayerList( .growWithPlaceholders(targetSize = 3) .withUserFirst(currentPlayer) - val tableImg = buildElement { table(200.px, 15.px) } + val tableImg = buildElement { lobbyWoodenTable(diameter = 200.px, borderSize = 15.px) } return radialList( items = playerItems, diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Table.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Table.kt index 7051652a..81e95893 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Table.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/lobby/Table.kt @@ -11,7 +11,7 @@ import styled.styledDiv private const val FIRE_REFLECTION_COLOR = "#b85e00" -fun RBuilder.table(diameter: LinearDimension, borderSize: LinearDimension = 20.px) { +fun RBuilder.lobbyWoodenTable(diameter: LinearDimension, borderSize: LinearDimension = 20.px) { circle(diameter) { css { backgroundColor = Color("#3d1e0e") |