NotifierUI // Tweak how out-of-date notifications look like.
This commit is contained in:
parent
88d4e56f2f
commit
082e4ba455
|
@ -142,7 +142,10 @@ extension Notifier {
|
||||||
private func display() {
|
private func display() {
|
||||||
let existingInstanceArray = Self.instanceStack.compactMap(\.window)
|
let existingInstanceArray = Self.instanceStack.compactMap(\.window)
|
||||||
if !existingInstanceArray.isEmpty {
|
if !existingInstanceArray.isEmpty {
|
||||||
existingInstanceArray.forEach { $0.alphaValue *= 0.5 }
|
existingInstanceArray.forEach {
|
||||||
|
$0.alphaValue -= 0.1
|
||||||
|
$0.contentView?.subviews.forEach { $0.alphaValue *= 0.5 }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
shiftExistingWindowPositions()
|
shiftExistingWindowPositions()
|
||||||
fadeIn()
|
fadeIn()
|
||||||
|
|
Loading…
Reference in New Issue