commit 4f336412447f0ad7bed8d5531d322f707c052cee parent 006a6ef16fda1a16716c927a731e74a6d7c57ee7 Author: Suhail Saqan <suhail.saqan@gmail.com> Date: Thu, 10 Aug 2023 22:40:51 -0500 change button scale effect Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | damus/Components/GradientButtonStyle.swift | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Components/GradientButtonStyle.swift b/damus/Components/GradientButtonStyle.swift @@ -22,7 +22,7 @@ struct GradientButtonStyle: ButtonStyle { RoundedRectangle(cornerRadius: 12) .fill(PinkGradient) } - .scaleEffect(configuration.isPressed ? 0.8 : 1) + .scaleEffect(configuration.isPressed ? 0.95 : 1) } }