fix(macos): light-grey video screen
This commit is contained in:
@@ -79,6 +79,7 @@ class MpvPlayerCore: NSObject {
|
||||
layer.contentsScale = screen.backingScaleFactor
|
||||
}
|
||||
layer.framebufferOnly = true
|
||||
layer.backgroundColor = NSColor.black.cgColor
|
||||
layer.autoresizingMask = [.layerWidthSizable, .layerHeightSizable]
|
||||
|
||||
metalLayer = layer
|
||||
|
||||
Reference in New Issue
Block a user