fix: prevent stale popup background regions
This commit is contained in:
@@ -214,6 +214,9 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
|
||||
coveredPillAlpha = pill.alphaValue
|
||||
}
|
||||
coveredPill?.setAccessibilityHidden(true)
|
||||
// Resolve the background crop before fading in a newly positioned popup.
|
||||
host.layoutSubtreeIfNeeded()
|
||||
background.needsDisplay = true
|
||||
NSAnimationContext.runAnimationGroup { context in
|
||||
context.duration = NSWorkspace.shared.accessibilityDisplayShouldReduceMotion ? 0 : 0.16
|
||||
view.animator().alphaValue = 1
|
||||
|
||||
Reference in New Issue
Block a user