mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
PixelPaint: Make escape key clear selection for Wand Select Tool
This commit is contained in:
parent
e81cf66784
commit
53e4cc16ff
Notes:
sideshowbarker
2024-07-17 20:58:35 +09:00
Author: https://github.com/tslater2006
Commit: 53e4cc16ff
Pull-request: https://github.com/SerenityOS/serenity/pull/15113
Reviewed-by: https://github.com/MacDue ✅
Reviewed-by: https://github.com/linusg
2 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,7 @@ public:
|
|||
virtual ~WandSelectTool() = default;
|
||||
|
||||
virtual void on_mousedown(Layer*, MouseEvent& event) override;
|
||||
virtual void 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