mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 00:22:12 +00:00
parent
f99d6cf34f
commit
daff0020cb
1 changed files with 2 additions and 2 deletions
|
|
@ -1968,7 +1968,7 @@ struct MediaInfoView: View {
|
||||||
let hostingController = UIViewController()
|
let hostingController = UIViewController()
|
||||||
hostingController.view.backgroundColor = .black
|
hostingController.view.backgroundColor = .black
|
||||||
detachedWindow.rootViewController = hostingController
|
detachedWindow.rootViewController = hostingController
|
||||||
detachedWindow.backgroundColor = .black
|
detachedWindow.backgroundColor = .clear
|
||||||
detachedWindow.windowLevel = .normal + 1
|
detachedWindow.windowLevel = .normal + 1
|
||||||
detachedWindow.makeKeyAndVisible()
|
detachedWindow.makeKeyAndVisible()
|
||||||
|
|
||||||
|
|
@ -1983,7 +1983,7 @@ struct MediaInfoView: View {
|
||||||
let hostingController = UIViewController()
|
let hostingController = UIViewController()
|
||||||
hostingController.view.backgroundColor = .black
|
hostingController.view.backgroundColor = .black
|
||||||
detachedWindow.rootViewController = hostingController
|
detachedWindow.rootViewController = hostingController
|
||||||
detachedWindow.backgroundColor = .black
|
detachedWindow.backgroundColor = .clear
|
||||||
detachedWindow.windowLevel = .normal + 1
|
detachedWindow.windowLevel = .normal + 1
|
||||||
detachedWindow.makeKeyAndVisible()
|
detachedWindow.makeKeyAndVisible()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue