summaryrefslogtreecommitdiff
path: root/Userland/Applications/DisplaySettings
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2023-04-27 21:10:31 +0200
committerSam Atkins <atkinssj@gmail.com>2023-04-27 21:17:11 +0100
commitcc35bab143e022baf570e910c0a14dbf62ff2cdd (patch)
treeb8f8af0a6d87365b1c9b89b621088fc16a9a81ca /Userland/Applications/DisplaySettings
parentc7f651d5262cb116bdab4514175f204293c8fa5d (diff)
downloadserenity-cc35bab143e022baf570e910c0a14dbf62ff2cdd.zip
DisplaySettings: Show bilinear filtered wallpaper in `MonitorWidget`
After 7b10c8048c, this is probably more correct.
Diffstat (limited to 'Userland/Applications/DisplaySettings')
-rw-r--r--Userland/Applications/DisplaySettings/MonitorWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/DisplaySettings/MonitorWidget.cpp b/Userland/Applications/DisplaySettings/MonitorWidget.cpp
index 886750d6c4..859d58525c 100644
--- a/Userland/Applications/DisplaySettings/MonitorWidget.cpp
+++ b/Userland/Applications/DisplaySettings/MonitorWidget.cpp
@@ -140,7 +140,7 @@ void MonitorWidget::redraw_desktop_if_needed()
} else if (m_desktop_wallpaper_mode == "Tile"sv) {
painter.draw_tiled_bitmap(m_desktop_bitmap->rect(), *scaled_bitmap);
} else if (m_desktop_wallpaper_mode == "Stretch"sv) {
- painter.draw_scaled_bitmap(m_desktop_bitmap->rect(), *m_wallpaper_bitmap, m_wallpaper_bitmap->rect());
+ painter.draw_scaled_bitmap(m_desktop_bitmap->rect(), *m_wallpaper_bitmap, m_wallpaper_bitmap->rect(), 1.f, Gfx::Painter::ScalingMode::BilinearBlend);
} else {
VERIFY_NOT_REACHED();
}