summaryrefslogtreecommitdiff
path: root/sw-ui
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-12-13 01:41:10 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-12-13 01:41:10 +0100
commit855c03d62c15b5d9449257563d24955dabb69dbb (patch)
treea686f8853b5eb2a79d270761af05954c512b2fc4 /sw-ui
parentOnly transfer ownership to humans (diff)
downloadseven-wonders-855c03d62c15b5d9449257563d24955dabb69dbb.tar.gz
seven-wonders-855c03d62c15b5d9449257563d24955dabb69dbb.tar.bz2
seven-wonders-855c03d62c15b5d9449257563d24955dabb69dbb.zip
Add missing branch in when statement
Diffstat (limited to 'sw-ui')
-rw-r--r--sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt
index 7e4c66ba..b05b903c 100644
--- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt
+++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt
@@ -57,6 +57,7 @@ class PlayerInfoPresenter(props: PlayerInfoProps) : RComponent<PlayerInfoProps,
FlexDirection.column -> marginTop = margin
FlexDirection.rowReverse -> marginRight = margin
FlexDirection.columnReverse -> marginBottom = margin
+ else -> error("Unsupported orientation '${props.orientation}' for player info component")
}
}
bgstack15