Revert "Target physical pixels for quads in iced_glow"

This reverts commit 45511a442f.
This commit is contained in:
Héctor Ramón Jiménez 2020-05-28 22:57:30 +02:00
parent 6de0a2c371
commit e11b5c614f
2 changed files with 8 additions and 8 deletions

View file

@ -764,7 +764,7 @@ mod style {
Button::Secondary => Color::from_rgb(0.5, 0.5, 0.5),
})),
border_radius: 12,
shadow_offset: Vector::new(0.0, 1.0),
shadow_offset: Vector::new(1.0, 1.0),
text_color: Color::from_rgb8(0xEE, 0xEE, 0xEE),
..button::Style::default()
}
@ -773,7 +773,7 @@ mod style {
fn hovered(&self) -> button::Style {
button::Style {
text_color: Color::WHITE,
shadow_offset: Vector::new(0.0, 2.0),
shadow_offset: Vector::new(1.0, 2.0),
..self.active()
}
}