1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:07:34 +00:00

ThemeEditor: Take drop events from the whole window

Drops were handled only by the Preview Widget previously. It probably
made a little more sense before the program redesign, as it took most of
window the space, but now honestly this idea doesn't hold up that well.
This commit is contained in:
Karol Kosek 2023-01-10 22:30:36 +01:00 committed by Sam Atkins
parent 0267d35258
commit 93a2b2a02d
4 changed files with 34 additions and 33 deletions

View file

@ -38,8 +38,6 @@ private:
virtual void paint_preview(GUI::PaintEvent&) override;
virtual void second_paint_event(GUI::PaintEvent&) override;
virtual void resize_event(GUI::ResizeEvent&) override;
virtual void drag_enter_event(GUI::DragEvent&) override;
virtual void drop_event(GUI::DropEvent&) override;
virtual void palette_changed() override;
void paint_hightlight_window();