mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
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:
parent
e31b1ad8cf
commit
fb913aa836
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue