Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
This reverts commit03326b955b, reversing changes made to7c5a4bc465.
This commit is contained in:
parent
6c0962c5c3
commit
9d4e849a0e
31 changed files with 78 additions and 59 deletions
|
|
@ -296,6 +296,7 @@ fn render<Renderer, Handle>(
|
|||
filter_method,
|
||||
rotation: rotation.radians(),
|
||||
opacity,
|
||||
snap: true,
|
||||
},
|
||||
drawing_bounds,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -351,6 +351,7 @@ where
|
|||
filter_method: self.filter_method,
|
||||
rotation: Radians(0.0),
|
||||
opacity: 1.0,
|
||||
snap: true,
|
||||
},
|
||||
drawing_bounds,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -424,7 +424,7 @@ where
|
|||
.style(&self.class, self.last_status.unwrap_or(Status::Disabled));
|
||||
|
||||
let border_radius = bounds.height / BORDER_RADIUS_RATIO;
|
||||
let space = (SPACE_RATIO * bounds.height).round();
|
||||
let space = SPACE_RATIO * bounds.height;
|
||||
|
||||
let toggler_background_bounds = Rectangle {
|
||||
x: bounds.x + space,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue