1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:17:46 +00:00

PixelPaint: Make escape key clear selection for Wand Select Tool

This commit is contained in:
Timothy Slater 2022-09-02 19:05:50 -05:00 committed by Linus Groh
parent e81cf66784
commit 53e4cc16ff
2 changed files with 9 additions and 0 deletions

View file

@ -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; }