fix(design): 按概念图重排面板层级并验证真实组件
This commit is contained in:
@@ -35,7 +35,7 @@ struct PanelWindowObserver: NSViewRepresentable {
|
||||
let chrome = CGSize(width: max(0, window.frame.width - window.contentLayoutRect.width),
|
||||
height: max(0, window.frame.height - window.contentLayoutRect.height))
|
||||
let size = PanelLayout.contentSize(visible: frame, chrome: chrome)
|
||||
let visible = window.isVisible && window.occlusionState.contains(.visible)
|
||||
let visible = window.isVisible
|
||||
DispatchQueue.main.async { [weak self, weak window] in
|
||||
guard let self, let window else { return }
|
||||
self.update(size, visible)
|
||||
|
||||
Reference in New Issue
Block a user