Add crisp feature for enabling default quad snapping
This commit is contained in:
parent
12ac265694
commit
567b7d9e9f
14 changed files with 184 additions and 138 deletions
|
|
@ -41,6 +41,9 @@ pub struct Quad {
|
|||
|
||||
/// The shadow blur radius of the [`Quad`].
|
||||
pub shadow_blur_radius: f32,
|
||||
|
||||
/// Whether the [`Quad`] should be snapped to the pixel grid.
|
||||
pub snap: u32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue