Skip to content

widgets: always feather rounded-corner fills/borders - #951

Merged
david-vanderson merged 2 commits into
david-vanderson:mainfrom
nat3Github:small-rounded-corner-fix
Aug 12, 2026
Merged

widgets: always feather rounded-corner fills/borders#951
david-vanderson merged 2 commits into
david-vanderson:mainfrom
nat3Github:small-rounded-corner-fix

Conversation

@nat3Github

Copy link
Copy Markdown
Collaborator

Drop the windowNaturalScale() >= 2.0 heuristic that skipped edge fade on hi-dpi displays.
image
closes #950

nat3Github and others added 2 commits August 12, 2026 11:22
Drop the windowNaturalScale() >= 2.0 heuristic that skipped edge fade
on hi-dpi displays. It assumed pixel density alone hides aliasing, but
that only holds for straight edges - on real hi-dpi hardware, rounded
corners (any radius, not just small ones) still show visible aliasing
without the fade. Always feather now; ninepatch draws keep fade=0
since those already have their own baked edges.
@david-vanderson
david-vanderson merged commit 76140a4 into david-vanderson:main Aug 12, 2026
1 check passed
@david-vanderson

Copy link
Copy Markdown
Owner

I agree - thank you!

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.

visible alliasing on rounded corners

2 participants