mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2024-11-25 07:32:30 +00:00
add glass background to bar, remove from buttons
This commit is contained in:
parent
043c20b645
commit
0204043e10
@ -20,22 +20,23 @@ extension ViewController {
|
|||||||
VStack {
|
VStack {
|
||||||
Spacer(minLength: 80.0)
|
Spacer(minLength: 80.0)
|
||||||
HStack {
|
HStack {
|
||||||
PowerMenu().glassBackgroundEffect()
|
PowerMenu()
|
||||||
SettingsMenu().glassBackgroundEffect()
|
SettingsMenu()
|
||||||
|
|
||||||
Button(action: {
|
Button(action: {
|
||||||
AppDelegate.shared.showInsertDisk(self)
|
AppDelegate.shared.showInsertDisk(self)
|
||||||
}, label: {
|
}, label: {
|
||||||
Image(systemName: "opticaldiscdrive")
|
Image(systemName: "opticaldiscdrive")
|
||||||
}).glassBackgroundEffect()
|
})
|
||||||
|
|
||||||
Button(action: {
|
Button(action: {
|
||||||
self.showKeyboard(self)
|
self.showKeyboard(self)
|
||||||
}, label: {
|
}, label: {
|
||||||
Image(systemName: "keyboard")
|
Image(systemName: "keyboard")
|
||||||
}).glassBackgroundEffect()
|
})
|
||||||
}.padding(.all)
|
}
|
||||||
.glassBackgroundEffect()
|
.padding(.all)
|
||||||
|
.glassBackgroundEffect()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user