fix normal overlay
This commit is contained in:
parent
07ee90c29f
commit
8d6e5fb897
|
@ -359,12 +359,13 @@ struct VLCPlayerOverlayView: View {
|
|||
var body: some View {
|
||||
if viewModel.overlayType == .normal {
|
||||
mainBody
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
viewModel.playerOverlayDelegate?.didGenerallyTap()
|
||||
}
|
||||
.background {
|
||||
Color(uiColor: .black.withAlphaComponent(0.5))
|
||||
.ignoresSafeArea()
|
||||
.onTapGesture {
|
||||
viewModel.playerOverlayDelegate?.didGenerallyTap()
|
||||
}
|
||||
}
|
||||
} else {
|
||||
mainBody
|
||||
|
|
Loading…
Reference in New Issue