From e8bf0fc0997740096cad74daa4b5a338ce808aad Mon Sep 17 00:00:00 2001 From: FabianLars Date: Sun, 23 Feb 2020 11:25:48 +0100 Subject: styling example fixed (added selection_color) --- examples/styling/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/styling/src/main.rs') diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index 47408624..e97389e9 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -354,6 +354,10 @@ mod style { fn value_color(&self) -> Color { Color::WHITE } + + fn selection_color(&self) -> Color { + Color::BLACK + } } pub struct Button; -- cgit