From e11b5c614f5bf73c137b8b4f24f56047617527eb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 28 May 2020 22:57:30 +0200 Subject: Revert "Target physical pixels for quads in `iced_glow`" This reverts commit 45511a442f707e93fe6e568d2100756b63af7362. --- examples/tour/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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() } } -- cgit