From 92df9d464aa971b30c6ec583556062472fba3e3e Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Tue, 31 Aug 2021 22:21:39 -0400 Subject: [PATCH] PixelPaint: Use Zoom and Eyedropper cursors Use the newly added cursors for ZoomTool and PickerTool --- Userland/Applications/PixelPaint/PickerTool.h | 2 +- Userland/Applications/PixelPaint/ZoomTool.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Applications/PixelPaint/PickerTool.h b/Userland/Applications/PixelPaint/PickerTool.h index 17074ebc48..0989795d1d 100644 --- a/Userland/Applications/PixelPaint/PickerTool.h +++ b/Userland/Applications/PixelPaint/PickerTool.h @@ -16,7 +16,7 @@ public: virtual ~PickerTool() override; virtual void on_mousedown(Layer*, MouseEvent&) override; - virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Crosshair; } + virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Eyedropper; } }; } diff --git a/Userland/Applications/PixelPaint/ZoomTool.h b/Userland/Applications/PixelPaint/ZoomTool.h index b81930ef0f..c9ca019aae 100644 --- a/Userland/Applications/PixelPaint/ZoomTool.h +++ b/Userland/Applications/PixelPaint/ZoomTool.h @@ -19,6 +19,7 @@ public: virtual void on_mousedown(Layer*, MouseEvent&) override; virtual GUI::Widget* get_properties_widget() override; + virtual Gfx::StandardCursor cursor() override { return Gfx::StandardCursor::Zoom; } private: RefPtr m_properties_widget;