mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue