This question might be a bit narrow, but I'm givin...
# compose-desktop
s
This question might be a bit narrow, but I'm giving it a shot nonetheless. I want my cursor to change when I hover over an element, so I made this modifier.
Copy code
actual fun Modifier.cursorForMove(): Modifier {
    return this.pointerHoverIcon(PointerIcon(Cursor(Cursor.MOVE_CURSOR)))
}
The thing is, it works great with other pre-defined cursors like
<http://Cursor.SE|Cursor.SE>_RESIZE_CURSOR
or
Cursor.HAND_CURSOR
, but when I use
Cursor.MOVE_CURSOR
, the cursor does not change at all. The Cursor class is in AWT, so maybe a bug there?