Skip to content

Fix round style fade animation using WinSetTransparent instead of AnimateWindow#8

Open
jos3ph1205 wants to merge 1 commit intoXMCQCX:mainfrom
jos3ph1205:fix-round-fade
Open

Fix round style fade animation using WinSetTransparent instead of AnimateWindow#8
jos3ph1205 wants to merge 1 commit intoXMCQCX:mainfrom
jos3ph1205:fix-round-fade

Conversation

@jos3ph1205
Copy link
Copy Markdown

the current implementation uses AnimateWindow for fade animations. however, this does not work correctly with the "round" style (layered window + shadow), resulting in flickering or visually incorrect fade-outs (i.e. corners are no longer rounded while fading out)

this PR replaces the hide animation for "round" style with a manual transparency fade using WinSetTransparent. its been tested for both "round" & "edge" styles

Demo:
https://github.com/user-attachments/assets/d664a27a-90e2-4e51-9ec5-b841efdcb6cb

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