summaryrefslogtreecommitdiffstats
path: root/examples/tour
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-27 23:17:21 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-05-27 23:17:21 +0200
commit45511a442f707e93fe6e568d2100756b63af7362 (patch)
tree2aae8f914ca00722587d2e0f0cf1bfc3b95ea2c0 /examples/tour
parent823ea1573245b849a0696543838a7ad1d0f914d8 (diff)
downloadiced-45511a442f707e93fe6e568d2100756b63af7362.tar.gz
iced-45511a442f707e93fe6e568d2100756b63af7362.tar.bz2
iced-45511a442f707e93fe6e568d2100756b63af7362.zip
Target physical pixels for quads in `iced_glow`
Diffstat (limited to 'examples/tour')
-rw-r--r--examples/tour/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index ca7a4f5d..c0bd2efe 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -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()
}
}