mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
PaintBrush: Make the ImageEditor accept focus
This commit is contained in:
parent
8882b6bd9a
commit
55d96715ff
Notes:
sideshowbarker
2024-07-19 06:40:58 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/55d96715ff5
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue