Skip to content

Add crisp feature for default quad snapping#2969

Merged
hecrj merged 1 commit intomasterfrom
feature/snapping-reloaded
May 30, 2025
Merged

Add crisp feature for default quad snapping#2969
hecrj merged 1 commit intomasterfrom
feature/snapping-reloaded

Conversation

@hecrj
Copy link
Member

@hecrj hecrj commented May 29, 2025

This PR adds a new crisp feature and a snap flag to the Style of button and container.

Setting the snap flag to true will align quad primitives to the pixel grid; producing crispier edges, specially in screens with low pixel density. The tradeoff is potential jitter when animating. Use it wisely!

The crisp feature can be enabled to set this snap flag to true for all quads by default (unless overridden by the widget).

@hecrj hecrj added this to the 0.14 milestone May 29, 2025
@hecrj hecrj merged commit ca6d992 into master May 30, 2025
30 checks passed
@hecrj hecrj deleted the feature/snapping-reloaded branch May 30, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments