Compose - Hoverable & clickable line
I'm trying to make a composable with a line shape. These lines will be connecting any two coordinates together, meaning it won't be a straight horizontal/vertical line, I know I can use divider for that.
I can do a line in drawWithCache (compose desktop's equivalent of Canvas), but these lines are neither hoverable nor clickable.
Afaik clipping a box with a custom shape won't be helping here because hover and click events will still work with a rectangle shape.
Is there any way at all that I...