Does compose control the cursor icon somehow? I ca...
# compose-desktop
a
Does compose control the cursor icon somehow? I can't seem to be able to change it reliably using the platform directly I am implementing resize on drag and I want to change the cursor icon when any of the sides is hovered. It works great and I am updating the mouse cursor using awt when I detect that a side is hovered. However when I mouse over any element with
pointerHoverIcon()
it breaks updating the icon using awt. ie I hover over a button, cursor goes hand, then mouse out again and then any call to
window.cursor = Cursor(Cursor.N_RESIZE_CURSOR)
doesnt update the cursor icon
I dont believe it is awt specific. Exact same behavior on compose web
a
Worked out the solution in the ticket, but in general you shouldn’t expect things to always work smoothly when you bypass or interfere with some Compose mechanism. When you do that you and Compose end up stepping on each other’s toes.