It works as shown in the demo video below. The color and width are currently set to match the normal cursor. However, if needed, they will be easy to expose so they can be explicitly customized.
EDIT: On second thought I also added an animation effect when the final cursor position is outside of the viewport and the floating cursor snaps to it. In my opinion, it looks better. The second clip shows the effect.
resolves #12
Implemented the floating cursor feature for iOS.
It works as shown in the demo video below. The color and width are currently set to match the normal cursor. However, if needed, they will be easy to expose so they can be explicitly customized.
EDIT: On second thought I also added an animation effect when the final cursor position is outside of the viewport and the floating cursor snaps to it. In my opinion, it looks better. The second clip shows the effect.
https://github.com/user-attachments/assets/7fc21bc4-ac9c-4729-b5d8-7761500ce58a
https://github.com/user-attachments/assets/390fb75e-b8ae-4c76-beea-3af2ccc1a63d