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

@ -680,6 +680,9 @@ void WebContentView::update_cursor(Gfx::Cursor cursor)
case Gfx::StandardCursor::Help:
setCursor(Qt::WhatsThisCursor);
break;
case Gfx::StandardCursor::OpenHand:
setCursor(Qt::OpenHandCursor);
break;
case Gfx::StandardCursor::Drag:
setCursor(Qt::ClosedHandCursor);
break;