change button scale effect
Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
006a6ef16f
commit
4f33641244
@@ -22,7 +22,7 @@ struct GradientButtonStyle: ButtonStyle {
|
|||||||
RoundedRectangle(cornerRadius: 12)
|
RoundedRectangle(cornerRadius: 12)
|
||||||
.fill(PinkGradient)
|
.fill(PinkGradient)
|
||||||
}
|
}
|
||||||
.scaleEffect(configuration.isPressed ? 0.8 : 1)
|
.scaleEffect(configuration.isPressed ? 0.95 : 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user