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 b4ebf70e0c
commit 7f7c1628cb

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))
}