mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
PixelPaint: Allow keydown events to bubble from ImageEditor
Previously, all keydown KeyEvents were accepted, causing parent widgets not to receive them. With the addition of shortcut handling to keydown, shortcuts were not called when the ImageEditor was focused.
This commit is contained in:
parent
967dfa7956
commit
7ce346e50e
19 changed files with 62 additions and 41 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
virtual void on_mousedown(Layer*, MouseEvent& event) override;
|
||||
virtual void on_mousemove(Layer*, MouseEvent& event) override;
|
||||
virtual void on_mouseup(Layer*, MouseEvent& event) override;
|
||||
virtual void on_keydown(GUI::KeyEvent&) override;
|
||||
virtual bool on_keydown(GUI::KeyEvent const&) override;
|
||||
virtual void on_keyup(GUI::KeyEvent&) override;
|
||||
virtual void on_second_paint(Layer const*, GUI::PaintEvent&) override;
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue