mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibGfx+LibWeb+UI: Add OpenHand cursor for CSS grab property
This commit is contained in:
parent
19577b966e
commit
660bcfa2cd
Notes:
github-actions[bot]
2025-09-13 12:28:12 +00:00
Author: https://github.com/make-42 🔰
Commit: 660bcfa2cd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6102
Reviewed-by: https://github.com/gmta ✅
4 changed files with 8 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ static Gfx::Cursor resolve_cursor(Layout::NodeWithStyle const& layout_node, Vect
|
|||
case CSS::CursorPredefined::Cell:
|
||||
return Gfx::StandardCursor::Crosshair;
|
||||
case CSS::CursorPredefined::Grab:
|
||||
return Gfx::StandardCursor::OpenHand;
|
||||
case CSS::CursorPredefined::Grabbing:
|
||||
return Gfx::StandardCursor::Drag;
|
||||
case CSS::CursorPredefined::Pointer:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue