diff options
| author | 2020-01-09 06:05:26 +0100 | |
|---|---|---|
| committer | 2020-01-09 06:05:26 +0100 | |
| commit | 775500cf1f5a14afacdc0bb6875136a4fd3369a4 (patch) | |
| tree | 142e02f76c26dc77ef1ea88b4f4c2921325c89df /examples | |
| parent | 5e018965ee99c44fe50f9be8f7b69cd486d183be (diff) | |
| download | iced-775500cf1f5a14afacdc0bb6875136a4fd3369a4.tar.gz iced-775500cf1f5a14afacdc0bb6875136a4fd3369a4.tar.bz2 iced-775500cf1f5a14afacdc0bb6875136a4fd3369a4.zip | |
Remove leftover `debug_color` in `styling` example
Diffstat (limited to '')
| -rw-r--r-- | examples/styling.rs | 9 | 
1 files changed, 1 insertions, 8 deletions
| diff --git a/examples/styling.rs b/examples/styling.rs index 59c9c734..50095ec7 100644 --- a/examples/styling.rs +++ b/examples/styling.rs @@ -135,7 +135,7 @@ impl Sandbox for Styling {  mod style {      use iced::{          button, checkbox, container, progress_bar, radio, scrollable, slider, -        text_input, Color, +        text_input,      };      #[derive(Debug, Clone, Copy, PartialEq, Eq)] @@ -146,13 +146,6 @@ mod style {      impl Theme {          pub const ALL: [Theme; 2] = [Theme::Light, Theme::Dark]; - -        pub fn debug_color(&self) -> Color { -            match self { -                Theme::Light => Color::BLACK, -                Theme::Dark => Color::WHITE, -            } -        }      }      impl Default for Theme { | 
