mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibGUI: Make Splitter inherit from Widget instead of Frame
It wasn't using any of the Frame features, so I'm not sure what the idea here was.
This commit is contained in:
parent
ac78531756
commit
eca6ff353e
2 changed files with 7 additions and 6 deletions
|
@ -54,7 +54,7 @@ void Splitter::paint_event(PaintEvent& event)
|
|||
|
||||
void Splitter::resize_event(ResizeEvent& event)
|
||||
{
|
||||
Frame::resize_event(event);
|
||||
Widget::resize_event(event);
|
||||
m_grabbable_rect = {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue