Snap rule widget to the pixel grid
This commit is contained in:
parent
ca6d992d67
commit
54a9f1b770
1 changed files with 1 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ where
|
||||||
renderer::Quad {
|
renderer::Quad {
|
||||||
bounds,
|
bounds,
|
||||||
border: border::rounded(style.radius),
|
border: border::rounded(style.radius),
|
||||||
|
snap: true,
|
||||||
..renderer::Quad::default()
|
..renderer::Quad::default()
|
||||||
},
|
},
|
||||||
style.color,
|
style.color,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue