Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"

This reverts commit 03326b955b, reversing
changes made to 7c5a4bc465.
This commit is contained in:
Héctor Ramón Jiménez 2025-05-28 22:51:10 +02:00
parent 6c0962c5c3
commit 9d4e849a0e
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
31 changed files with 78 additions and 59 deletions

View file

@ -296,6 +296,7 @@ fn render<Renderer, Handle>(
filter_method,
rotation: rotation.radians(),
opacity,
snap: true,
},
drawing_bounds,
);

View file

@ -351,6 +351,7 @@ where
filter_method: self.filter_method,
rotation: Radians(0.0),
opacity: 1.0,
snap: true,
},
drawing_bounds,
);

View file

@ -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,