Snap rule widget to the pixel grid

This commit is contained in:
Héctor Ramón Jiménez 2025-05-30 18:09:40 +02:00
parent ca6d992d67
commit 54a9f1b770
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -167,6 +167,7 @@ where
renderer::Quad {
bounds,
border: border::rounded(style.radius),
snap: true,
..renderer::Quad::default()
},
style.color,