1
Fork 0
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:
Andreas Kling 2020-08-26 00:06:48 +02:00
parent ac78531756
commit eca6ff353e
2 changed files with 7 additions and 6 deletions

View file

@ -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 = {};
}