We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce66ffd commit 75a2ecbCopy full SHA for 75a2ecb
1 file changed
VolumeGrid/HUD/HUDManager.swift
@@ -436,8 +436,13 @@ class HUDManager {
436
hudWindow.animator().alphaValue = VolumeGridConstants.HUD.alpha
437
}, completionHandler: nil)
438
} else {
439
+ // Cancel any in-flight fade-out animation before setting alpha
440
+ NSAnimationContext.runAnimationGroup(
441
+ { context in
442
+ context.duration = 0
443
+ hudWindow.animator().alphaValue = VolumeGridConstants.HUD.alpha
444
+ }, completionHandler: nil)
445
hudWindow.orderFrontRegardless()
- hudWindow.alphaValue = VolumeGridConstants.HUD.alpha
446
}
447
448
0 commit comments