mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +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
20 changed files with 20 additions and 20 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
virtual void on_mousemove(Layer*, MouseEvent&) override;
|
||||
virtual void on_mouseup(Layer*, MouseEvent&) override;
|
||||
virtual void on_second_paint(Layer const*, GUI::PaintEvent&) override;
|
||||
virtual bool on_keydown(GUI::KeyEvent const&) override;
|
||||
virtual bool on_keydown(GUI::KeyEvent&) override;
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return Gfx::StandardCursor::Crosshair; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue