Desktop: when hovering over a room cursor should change to the hand
Closed this issue · 7 comments
Some quick googling shows this may not be something out of the box we can do with SwiftUI. Maybe @carson-katri has a suggestion?
This is not standard behavior for native buttons on macOS, only buttons on web. But if you want this behavior, you need to use NSCursor.pointingHand.push()
and NSCursor.pop()
in the onHover
modifier.
I think #39 could replace this need. Just a visual indicator
The clickable room doesn't necessarily have to be a button. However it should be an interactive element that is able to be tabbed/focused. The <a>
tag could be used instead to make the area bigger and with cursor functionality, but I don't know if there's some built-in LiveView functionality that needs to be turned off if it's a link.
@pursuitofleisure this is for the desktop macos app, not web
@bcardarella My mistake, although there is a similar issue on the web with #39
@pursuitofleisure that's the macos app too
closing in favor of #39