Fix EOF handler

This commit is contained in:
Arkadiusz Fal
2022-02-27 21:25:29 +01:00
parent 4081c65c34
commit d32b38c352
3 changed files with 12 additions and 10 deletions

View File

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