Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
545271e9bd
commit
547f690e3c
@ -93,8 +93,8 @@ struct DealerHandView: View {
|
||||
: .none,
|
||||
value: hand.cards.count
|
||||
)
|
||||
.overlay(alignment: .bottom) {
|
||||
// Result badge - overlayed so it doesn't add height to the view
|
||||
.overlay {
|
||||
// Result badge - centered on cards
|
||||
if let result = hand.cards.count >= 2 && showHoleCard ? handResultText : nil {
|
||||
Text(result)
|
||||
.font(.system(size: labelFontSize, weight: .black))
|
||||
@ -106,7 +106,6 @@ struct DealerHandView: View {
|
||||
.fill(handResultColor)
|
||||
.shadow(color: .black.opacity(Design.Opacity.medium), radius: Design.Shadow.radiusMedium)
|
||||
)
|
||||
.offset(y: Design.Spacing.xLarge) // Position below cards
|
||||
.transition(.scale.combined(with: .opacity))
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user