Kebbin
02/15/2022, 12:49 PMIgor Demin
02/15/2022, 1:38 PMKebbin
02/15/2022, 11:03 PMIgor Demin
02/16/2022, 1:40 PMAlso, would the cursor movement be limited to the transformed screen size/area, or be able to continue moving into the distanceHonestly, I don't know until diving into the issue. It depends on the
graphicsLayer
contract (also worth to look how it works on Android)
To fix issue on your side, you can extend available space, subscribe to Modifier.pointerInput
, multiply position to the transformation matrix, and do your own hit testing.
This can't be fixed though, if you render default Compose components (Button, Slider, etc) instead of your own in the transformed Box. But using graphicsLayer
probably isn't the best idea too, until this issue is fixed.Kebbin
02/16/2022, 9:17 PM