diff options
author | 2020-05-28 22:57:30 +0200 | |
---|---|---|
committer | 2020-05-28 22:57:30 +0200 | |
commit | e11b5c614f5bf73c137b8b4f24f56047617527eb (patch) | |
tree | b336325649c5861db2faaff190fc0fe39717e8ad /examples/tour | |
parent | 6de0a2c37129b735dac3c6aec461f18a0c1bcbc8 (diff) | |
download | iced-e11b5c614f5bf73c137b8b4f24f56047617527eb.tar.gz iced-e11b5c614f5bf73c137b8b4f24f56047617527eb.tar.bz2 iced-e11b5c614f5bf73c137b8b4f24f56047617527eb.zip |
Revert "Target physical pixels for quads in `iced_glow`"
This reverts commit 45511a442f707e93fe6e568d2100756b63af7362.
Diffstat (limited to 'examples/tour')
-rw-r--r-- | examples/tour/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs index ffadb14f..c9678b9d 100644 --- a/examples/tour/src/main.rs +++ b/examples/tour/src/main.rs @@ -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() } } |