mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
DisplaySettings: Show bilinear filtered wallpaper in MonitorWidget
After 7b10c8048c
, this is probably more correct.
This commit is contained in:
parent
c7f651d526
commit
cc35bab143
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue