Skip to content

Conversation

taj-ny
Copy link

@taj-ny taj-ny commented Dec 24, 2024

Commit 28bfa2e changed the composition mode to Source when painting transparent context menus. On dark color schemes, there is a transparent outline painted on top of the menu background. The Source mode results in the outline replacing pixels of the background instead being painted on top.

This PR changes the mode to SourceOver (default) before painting the outline, making context menus look like in v0.5.11. It doesn't break menu transparency, because it's changed only for the outline.

comparison

Commit 28bfa2e changed the composition mode to Source when painting transparent context menus. On dark color schemes, there is a transparent outline painted on top of the menu background. The Source mode results in the outline replacing pixels of the background instead being painted on top.

This commit changes the mode to SourceOver (default) before painting the outline, making context menus look like in v0.5.11. It doesn't break menu transparency, because it's changed only for the outline.
@Bali10050
Copy link
Owner

Nice job, thank you!

@Bali10050 Bali10050 merged commit b0d4f3d into Bali10050:FeatureDarkly Dec 24, 2024
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.

2 participants