Minor improvements

This commit is contained in:
Arkadiusz Fal
2022-02-21 21:57:12 +01:00
parent 1d24705c92
commit 4081c65c34
7 changed files with 393 additions and 108 deletions

View File

@@ -114,6 +114,7 @@ struct VideoPlayerView: View {
Color.clear
.onAppear {
player.playerSize = proxy.size
// TODO move to backend method
player.mpvBackend.client?.setSize(proxy.size.width, proxy.size.height)
}
.onChange(of: proxy.size) { _ in