diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-11 14:51:02 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-11 14:51:02 +0200 |
commit | d76b2d0baa01e0040eb14ec76cdae1b051aa3a54 (patch) | |
tree | 6abe2610c45173a3760a8cb47646bfc914b29ea3 /Libraries/LibGUI | |
parent | cab422b441b212bfefe97eedc286f6a26ccbe370 (diff) | |
download | serenity-d76b2d0baa01e0040eb14ec76cdae1b051aa3a54.zip |
LibGUI: Use widget override cursors in ColorInput
Diffstat (limited to 'Libraries/LibGUI')
-rw-r--r-- | Libraries/LibGUI/ColorInput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/ColorInput.cpp b/Libraries/LibGUI/ColorInput.cpp index 2ecff12385..1dae9398a2 100644 --- a/Libraries/LibGUI/ColorInput.cpp +++ b/Libraries/LibGUI/ColorInput.cpp @@ -100,11 +100,11 @@ void ColorInput::mouseup_event(MouseEvent& event) void ColorInput::mousemove_event(MouseEvent& event) { if (color_rect().contains(event.position())) { - window()->set_cursor(Gfx::StandardCursor::Hand); + set_override_cursor(Gfx::StandardCursor::Hand); event.accept(); return; } else { - window()->set_cursor(Gfx::StandardCursor::IBeam); + set_override_cursor(Gfx::StandardCursor::IBeam); } TextEditor::mousemove_event(event); |