Skip to content

Improved Ripple visual effect#459

Merged
appleneko2001 merged 3 commits into
AvaloniaCommunity:masterfrom
appleneko2001:ripple-improved
May 18, 2025
Merged

Improved Ripple visual effect#459
appleneko2001 merged 3 commits into
AvaloniaCommunity:masterfrom
appleneko2001:ripple-improved

Conversation

@appleneko2001
Copy link
Copy Markdown
Contributor

Details

This PR will correct some RippleHandler renderer abnormal behaviours, which may happens some graphical issues while effects is working, also adding FadeOutDuration property to allow users to control how long it take to fade out.

Exposed API

  • RippleEffect.FadeOutDuration duration for second state (fade-out)

Changes

  • Rewrote procedure and algorithm in RippleHandler, thanks again to @maxkatz6 for converting this effect to custom renderer handler way.

Known issues:

  • RippleEffect.FadeOutDuration should not higher than Ripple.Duration, otherwise Ripple effect will be deleted early.

Screenshots

e83jh908dfh3489ty43897ty3489rh438

@appleneko2001 appleneko2001 merged commit 721b20d into AvaloniaCommunity:master May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant