diff options
author | Nico Weber <thakis@chromium.org> | 2020-10-26 10:16:44 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-15 19:13:46 +0100 |
commit | 699ba84bea7c79abab30547f6ac4e97e8cb363a3 (patch) | |
tree | 95bb0479aebef5f9317363dea76f307cd51ffb27 /Userland/Applications/DisplaySettings/MonitorWidget.cpp | |
parent | 56cad36ef259332e603df8494cfaee4f34915beb (diff) | |
download | serenity-699ba84bea7c79abab30547f6ac4e97e8cb363a3.zip |
DisplaySettings: Rename wallpaper setting "scaled" to "stretch"
I want to add a scale factor for picking pixel density, and using
the same terminology for wallpaper handling would be confusing.
Diffstat (limited to 'Userland/Applications/DisplaySettings/MonitorWidget.cpp')
-rw-r--r-- | Userland/Applications/DisplaySettings/MonitorWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/MonitorWidget.cpp b/Userland/Applications/DisplaySettings/MonitorWidget.cpp index d6b809d449..e998b1f228 100644 --- a/Userland/Applications/DisplaySettings/MonitorWidget.cpp +++ b/Userland/Applications/DisplaySettings/MonitorWidget.cpp @@ -96,7 +96,7 @@ void MonitorWidget::paint_event(GUI::PaintEvent& event) screen_painter.blit_offset(screen_rect.location(), *m_desktop_wallpaper_bitmap, screen_rect, offset); } else if (m_desktop_wallpaper_mode == "tile") { screen_painter.draw_tiled_bitmap(screen_bitmap->rect(), *m_desktop_wallpaper_bitmap); - } else if (m_desktop_wallpaper_mode == "scaled") { + } else if (m_desktop_wallpaper_mode == "stretch") { screen_painter.draw_scaled_bitmap(screen_bitmap->rect(), *m_desktop_wallpaper_bitmap, m_desktop_wallpaper_bitmap->rect()); } else { ASSERT_NOT_REACHED(); |