PixelPaint: Use the crosshair cursor with the lasso tool

This matches the behavior of other selection tools.
This commit is contained in:
Tim Ledbetter 2023-02-05 19:31:38 +00:00 committed by Sam Atkins
parent 5e4d835caf
commit 971a5467bf

View file

@ -26,6 +26,7 @@ public:
virtual bool on_keydown(GUI::KeyEvent&) override;
virtual void on_second_paint(Layer const*, GUI::PaintEvent&) override;
virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> cursor() override { return Gfx::StandardCursor::Crosshair; }
private:
virtual StringView tool_name() const override { return "Lasso Select Tool"sv; }