mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibGUI: Fix GTreeView column headers incorrectly scrolling with content
This commit is contained in:
parent
be0b527cfc
commit
7fea25943d
Notes:
sideshowbarker
2024-07-19 10:51:02 +09:00
Author: https://github.com/awesomekling
Commit: 7fea25943d
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,8 @@ void GTreeView::paint_event(GPaintEvent& event)
|
||||||
return IterationDecision::Continue;
|
return IterationDecision::Continue;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Untranslate the painter vertically and do the column headers.
|
||||||
|
painter.translate(0, vertical_scrollbar().value());
|
||||||
paint_headers(painter);
|
paint_headers(painter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue