Improve MPV performance

This commit is contained in:
Arkadiusz Fal
2022-06-16 02:03:15 +02:00
parent ed71231df3
commit 0c6ddc3dae
4 changed files with 33 additions and 30 deletions

View File

@@ -156,7 +156,6 @@ struct VideoPlayerView: View {
return // swiftlint:disable:this implicit_return
}
player.backend.setNeedsDrawing(false)
let drag = value.translation.height
guard drag > 0 else {