mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
FileManager: Fix Desktop rubber-banding getting clipped at the edge
The issue was that the desktop IconView has Gfx::FrameShape::NoFrame as its frame shape, but with a non-zero frame_thickness(). This caused us to not render a frame, but to include one in the selection boundary calculations. Fix this by setting the desktop icon view's frame thickness to 0. Fixes #8525.
This commit is contained in:
parent
86d0145260
commit
fda22c6889
Notes:
sideshowbarker
2024-07-18 10:12:37 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/fda22c6889a
@ -253,6 +253,7 @@ void DirectoryView::setup_icon_view()
|
||||
|
||||
if (is_desktop()) {
|
||||
m_icon_view->set_frame_shape(Gfx::FrameShape::NoFrame);
|
||||
m_icon_view->set_frame_thickness(0);
|
||||
m_icon_view->set_scrollbars_enabled(false);
|
||||
m_icon_view->set_fill_with_background_color(false);
|
||||
m_icon_view->set_draw_item_text_with_shadow(true);
|
||||
|
Loading…
Reference in New Issue
Block a user