mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 17:58:59 +00:00
PixelPaint: Change tool keydown handle to non-const
This was changed to const in PR #15788 but presents problems for tools that may need to forward this event to non-const event handlers.
This commit is contained in:
parent
159f6cf0ac
commit
296b76095f
Notes:
sideshowbarker
2024-07-17 09:37:30 +09:00
Author: https://github.com/tslater2006
Commit: 296b76095f
Pull-request: https://github.com/SerenityOS/serenity/pull/15828
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/gmta
20 changed files with 20 additions and 20 deletions
|
@ -20,7 +20,7 @@ public:
|
|||
virtual void on_mousedown(Layer*, MouseEvent&) override;
|
||||
virtual void on_mousemove(Layer*, MouseEvent&) override;
|
||||
virtual void on_mouseup(Layer*, MouseEvent&) override;
|
||||
virtual bool on_keydown(GUI::KeyEvent const&) override;
|
||||
virtual bool on_keydown(GUI::KeyEvent&) override;
|
||||
virtual void on_keyup(GUI::KeyEvent&) override;
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue