In the CodeViewer example on Github there is code ...
# compose-desktop
k
In the CodeViewer example on Github there is code that sets the mouse cursor that looks like this
AppWindowAmbient.current!!.window.cursor = Cursor(Cursor.E_RESIZE_CURSOR)
This is for an early release of Desktop, I was using the 0.3.0 release and changed the code to be this:
LocalAppWindow.current.window.cursor = Cursor(Cursor.E_RESIZE_CURSOR)
But now LocalAppWindow has been deprecated and I’m wondering if there’s any way to set the cursor in the current (alpha) versions of Desktop? Thanks
i
It was replaced by pointerIcon
k
Ah, thank you, I thought I was looking at the latest code but I don’t think I am, I’ll go grab the repo again and take a look