diff options
| author | 2020-01-05 18:11:54 +0100 | |
|---|---|---|
| committer | 2020-01-05 18:11:54 +0100 | |
| commit | 8d6f86b317303c06a0daf1ca3ce91c29670dd674 (patch) | |
| tree | 0ed859bc36eac02b249cf7767195b7474937f06e /src | |
| parent | 5af4159848341b14f6ff9ae14a9a222d8d8b0fb8 (diff) | |
| download | iced-8d6f86b317303c06a0daf1ca3ce91c29670dd674.tar.gz iced-8d6f86b317303c06a0daf1ca3ce91c29670dd674.tar.bz2 iced-8d6f86b317303c06a0daf1ca3ce91c29670dd674.zip  | |
Remove `background` from `Settings`
Diffstat (limited to '')
| -rw-r--r-- | src/settings.rs | 8 | 
1 files changed, 0 insertions, 8 deletions
diff --git a/src/settings.rs b/src/settings.rs index b01e6fc8..b725ef9f 100644 --- a/src/settings.rs +++ b/src/settings.rs @@ -1,5 +1,4 @@  //! Configure your application. -use crate::Color;  /// The settings of an application.  #[derive(Debug, Clone, Copy, PartialEq)] @@ -11,11 +10,6 @@ pub struct Settings {      /// [`Window`]: struct.Window.html      pub window: Window, -    /// The default background [`Color`] of the application -    /// -    /// [`Color`]: ../struct.Color.html -    pub background: Color, -      // TODO: Add `name` for web compatibility      pub default_font: Option<&'static [u8]>,  } @@ -24,7 +18,6 @@ impl Default for Settings {      fn default() -> Settings {          Settings {              window: Window::default(), -            background: Color::WHITE,              default_font: None,          }      } @@ -63,7 +56,6 @@ impl From<Settings> for iced_winit::Settings {                  decorations: settings.window.decorations,                  platform_specific: Default::default(),              }, -            background: settings.background,          }      }  }  | 
