fix(ui): give dropdown an opaque background

MenuBarExtra(.window) on the new SDK defaults to a vibrant translucent
material, letting whatever is behind bleed through. Apply
Color(.windowBackgroundColor) to the root VStack so the panel reads as
a normal opaque window in both light and dark mode.

release: 1.3.1 → 1.3.2
This commit is contained in:
vgearen
2026-05-14 10:52:55 +08:00
parent b92df67825
commit c9b6bf467c
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -103,5 +103,6 @@ struct DropdownView: View {
}
.padding(6)
.frame(width: 320)
.background(Color(nsColor: .windowBackgroundColor))
}
}