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

PaintBrush: Make the ImageEditor accept focus

This commit is contained in:
Andreas Kling 2020-05-13 12:59:16 +02:00
parent 8882b6bd9a
commit 55d96715ff

View file

@ -66,6 +66,8 @@ public:
private:
ImageEditor();
virtual bool accepts_focus() const override { return true; }
virtual void paint_event(GUI::PaintEvent&) override;
virtual void mousedown_event(GUI::MouseEvent&) override;
virtual void mousemove_event(GUI::MouseEvent&) override;