diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2023-04-27 21:10:31 +0200 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-04-27 21:17:11 +0100 |
commit | cc35bab143e022baf570e910c0a14dbf62ff2cdd (patch) | |
tree | b8f8af0a6d87365b1c9b89b621088fc16a9a81ca /Userland/Applications/DisplaySettings | |
parent | c7f651d5262cb116bdab4514175f204293c8fa5d (diff) | |
download | serenity-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.cpp | 2 |
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(); } |