Rename Settings::background_color to background

This commit is contained in:
Héctor Ramón Jiménez 2019-12-29 12:31:47 +01:00
parent f74ab463d4
commit 89a6b8a9a1
3 changed files with 6 additions and 6 deletions

View file

@ -280,7 +280,7 @@ pub trait Application: Sized {
}
let new_mouse_cursor = renderer.draw(
settings.background_color,
settings.background,
&primitive,
&debug.overlay(),
&mut target,

View file

@ -19,14 +19,14 @@ pub struct Settings {
pub window: Window,
/// The default background color of the application
pub background_color: Color,
pub background: Color,
}
impl Default for Settings {
fn default() -> Settings {
Settings {
window: Window::default(),
background_color: Color::WHITE,
background: Color::WHITE,
}
}
}