You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently use InOutQuad. Since the animation of value is 0 (invisible) to 1 (visible) I need to use OutCubic. Since I reverse the animation, I don't need to bother switching to InCubic though I should confirm that.
The text was updated successfully, but these errors were encountered:
Zren
changed the title
Determine if I should use InCubic for Button opacity animation
Determine if I should use OutCubic for Button opacity animation
Jan 15, 2023
Apparently there's no fade out animations ATM since the current fg/bg color is based on the current hover/pressed state. I'll need to rethink my button animation code to support these transitions.
I've hacked together a ifPressed || wasPressed modification that works, but I think I'll look into a proper QPropertyAnimation on the colors (would need to be a grouped animation).
I currently use
InOutQuad
. Since the animation ofvalue
is0
(invisible) to1
(visible) I need to useOutCubic
. Since I reverse the animation, I don't need to bother switching toInCubic
though I should confirm that.The text was updated successfully, but these errors were encountered: