mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35: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: https://github.com/SerenityOS/serenity/commit/7fea25943d3
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,8 @@ void GTreeView::paint_event(GPaintEvent& event)
|
|||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
// Untranslate the painter vertically and do the column headers.
|
||||
painter.translate(0, vertical_scrollbar().value());
|
||||
paint_headers(painter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue