mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-24 11:11:51 +00:00
LibGUI+WindowServer: Rename window "override cursor" to just "cursor"
Let's just say each window has a cursor, there's not really overriding going on.
This commit is contained in:
parent
40fbdd4e9e
commit
b4f307f982
Notes:
sideshowbarker
2024-07-19 02:47:08 +09:00
Author: https://github.com/awesomekling
Commit: b4f307f982
21 changed files with 80 additions and 80 deletions
|
@ -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(Gfx::StandardCursor::Hand);
|
||||
window()->set_cursor(Gfx::StandardCursor::Hand);
|
||||
event.accept();
|
||||
return;
|
||||
} else {
|
||||
window()->set_override_cursor(Gfx::StandardCursor::IBeam);
|
||||
window()->set_cursor(Gfx::StandardCursor::IBeam);
|
||||
}
|
||||
|
||||
TextEditor::mousemove_event(event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue