visionOS: use black instead of white for the mouse overlay

White is easier to see and people notice the overlay showing up when mouse input is enabled
This commit is contained in:
Sam Lantinga 2026-05-18 13:00:00 -07:00
parent e31b1ad8cf
commit fb913aa836

View file

@ -167,7 +167,7 @@ internal struct SDL_CurvedContentView: View {
.overlay {
if mouseInputEnabled {
// This enables mouse motion events, but blocks hover location
Color.white
Color.black
.opacity(0.001)
.pointerStyle(.shape(Circle(), size: .zero))
}