fix: fill popover background during resize animation
This commit is contained in:
@@ -48,6 +48,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
.environmentObject(updateManager)
|
.environmentObject(updateManager)
|
||||||
)
|
)
|
||||||
hc.sizingOptions = .preferredContentSize
|
hc.sizingOptions = .preferredContentSize
|
||||||
|
hc.view.wantsLayer = true
|
||||||
|
hc.view.layer?.backgroundColor = NSColor.windowBackgroundColor.cgColor
|
||||||
popover?.contentViewController = hc
|
popover?.contentViewController = hc
|
||||||
|
|
||||||
// React to limits or menubar toggle changes
|
// React to limits or menubar toggle changes
|
||||||
@@ -238,3 +240,4 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user