Target physical pixels for quads in iced_glow
This commit is contained in:
parent
823ea15732
commit
45511a442f
2 changed files with 8 additions and 8 deletions
|
|
@ -772,7 +772,7 @@ mod style {
|
|||
Button::Secondary => Color::from_rgb(0.5, 0.5, 0.5),
|
||||
})),
|
||||
border_radius: 12,
|
||||
shadow_offset: Vector::new(1.0, 1.0),
|
||||
shadow_offset: Vector::new(0.0, 1.0),
|
||||
text_color: Color::from_rgb8(0xEE, 0xEE, 0xEE),
|
||||
..button::Style::default()
|
||||
}
|
||||
|
|
@ -781,7 +781,7 @@ mod style {
|
|||
fn hovered(&self) -> button::Style {
|
||||
button::Style {
|
||||
text_color: Color::WHITE,
|
||||
shadow_offset: Vector::new(1.0, 2.0),
|
||||
shadow_offset: Vector::new(0.0, 2.0),
|
||||
..self.active()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue