mirror of https://github.com/mpv-player/mpv
cocoa-cb: force layer update on resize
this fixes some race condition where the content of the layer wasn't updated because the size didn't changed and the layer was already marked as updated. just force an update on reconfig. Fixes #7989
This commit is contained in:
parent
6c83e91e11
commit
0cea7b9ffb
|
@ -67,7 +67,7 @@ class CocoaCB: Common {
|
|||
} else {
|
||||
DispatchQueue.main.async {
|
||||
self.updateWindowSize(vo)
|
||||
self.layer?.update()
|
||||
self.layer?.update(force: true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue