mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibGfx: Move StandardCursor enum to LibGfx
This enum existed both in LibGUI and WindowServer which was silly and error-prone.
This commit is contained in:
@@ -100,11 +100,11 @@ void ColorInput::mouseup_event(MouseEvent& event)
|
||||
void ColorInput::mousemove_event(MouseEvent& event)
|
||||
{
|
||||
if (color_rect().contains(event.position())) {
|
||||
window()->set_override_cursor(StandardCursor::Hand);
|
||||
window()->set_override_cursor(Gfx::StandardCursor::Hand);
|
||||
event.accept();
|
||||
return;
|
||||
} else {
|
||||
window()->set_override_cursor(StandardCursor::IBeam);
|
||||
window()->set_override_cursor(Gfx::StandardCursor::IBeam);
|
||||
}
|
||||
|
||||
TextEditor::mousemove_event(event);
|
||||
|
||||
Reference in New Issue
Block a user