LibGfx+LibWeb+UI: Add OpenHand cursor for CSS grab property

This commit is contained in:
Louis Dalibard 2025-09-06 18:19:21 +02:00 committed by Jelle Raaijmakers
parent 19577b966e
commit 660bcfa2cd
Notes: github-actions[bot] 2025-09-13 12:28:12 +00:00
4 changed files with 8 additions and 0 deletions

View file

@ -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: