diff options
-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 -> { |