diff options
author | 2020-02-23 11:25:48 +0100 | |
---|---|---|
committer | 2020-02-23 11:25:48 +0100 | |
commit | e8bf0fc0997740096cad74daa4b5a338ce808aad (patch) | |
tree | 9e9d00feefd63c0fd08517fb0d25aa5ba707d2c7 /examples/styling | |
parent | 883843a72df44bf420f43771165dd8e7c9312e17 (diff) | |
download | iced-e8bf0fc0997740096cad74daa4b5a338ce808aad.tar.gz iced-e8bf0fc0997740096cad74daa4b5a338ce808aad.tar.bz2 iced-e8bf0fc0997740096cad74daa4b5a338ce808aad.zip |
styling example fixed (added selection_color)
Diffstat (limited to 'examples/styling')
-rw-r--r-- | examples/styling/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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; |