mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 08:48:37 +00:00
macOS: fix VoiceWakeOverlayController exclusivity violation #39275
This commit is contained in:
committed by
Peter Steinberger
parent
eebee84093
commit
58ae5582f4
@@ -61,9 +61,11 @@ final class NotifyOverlayController {
|
||||
self.ensureWindow()
|
||||
self.hostingView?.rootView = NotifyOverlayView(controller: self)
|
||||
let target = self.targetFrame()
|
||||
let isFirst = !self.model.isVisible
|
||||
if isFirst { self.model.isVisible = true }
|
||||
OverlayPanelFactory.present(
|
||||
window: self.window,
|
||||
isVisible: &self.model.isVisible,
|
||||
isFirstPresent: isFirst,
|
||||
target: target)
|
||||
{ window in
|
||||
self.updateWindowFrame(animate: true)
|
||||
|
||||
Reference in New Issue
Block a user