diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-13 01:41:10 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-13 01:41:10 +0100 |
commit | 855c03d62c15b5d9449257563d24955dabb69dbb (patch) | |
tree | a686f8853b5eb2a79d270761af05954c512b2fc4 /sw-ui/src/main/kotlin | |
parent | Only transfer ownership to humans (diff) | |
download | seven-wonders-855c03d62c15b5d9449257563d24955dabb69dbb.tar.gz seven-wonders-855c03d62c15b5d9449257563d24955dabb69dbb.tar.bz2 seven-wonders-855c03d62c15b5d9449257563d24955dabb69dbb.zip |
Add missing branch in when statement
Diffstat (limited to 'sw-ui/src/main/kotlin')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt | 1 |
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") } } |