diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-06-02 00:40:34 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-06-02 00:40:34 +0200 |
commit | 80029f8c9c2ebdbd187e1078cdfbfcd5010335b9 (patch) | |
tree | a5d8e5af4bd138066a0d10e4cbc96ae079ba0b9d /sw-ui/src/main/kotlin/org | |
parent | Extract board summaries function (diff) | |
download | seven-wonders-80029f8c9c2ebdbd187e1078cdfbfcd5010335b9.tar.gz seven-wonders-80029f8c9c2ebdbd187e1078cdfbfcd5010335b9.tar.bz2 seven-wonders-80029f8c9c2ebdbd187e1078cdfbfcd5010335b9.zip |
Add title on hand rotation direction
Diffstat (limited to 'sw-ui/src/main/kotlin/org')
-rw-r--r-- | sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt index 5755fc21..9c46d2de 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt @@ -2,6 +2,7 @@ package org.luxons.sevenwonders.ui.components.game import com.palantir.blueprintjs.bpIcon import kotlinx.css.* +import kotlinx.html.title import org.luxons.sevenwonders.model.cards.HandRotationDirection import react.RBuilder import styled.css @@ -16,6 +17,9 @@ fun RBuilder.handRotationIndicator(direction: HandRotationDirection) { alignItems = Align.center bottom = 25.vh } + attrs { + title = "Your hand will be passed to the player on your $direction after playing this card." + } val sideDistance = 2.rem when (direction) { HandRotationDirection.LEFT -> { |