This commit is contained in:
DDIsFriend
2023-08-30 14:26:08 +08:00
parent b846be8803
commit cae8beeb03
31 changed files with 462 additions and 339 deletions

View File

@@ -62,7 +62,7 @@ open class Entry {
var attributes = EKAttributes()
attributes = .centerFloat
attributes.name = name
attributes.precedence = .override(priority: .normal, dropEnqueuedEntries: false)
attributes.precedence = .override(priority: .high, dropEnqueuedEntries: false)
attributes.displayMode = .inferred
attributes.displayDuration = .infinity
attributes.screenBackground = .color(color: .clear)
@@ -155,7 +155,7 @@ open class Entry {
attributes.displayDuration = .infinity
attributes.screenBackground = .color(color: .clear)
attributes.entryBackground = .color(color: .white)
attributes.screenInteraction = .dismiss
attributes.screenInteraction = .absorbTouches
attributes.entryInteraction = .absorbTouches
attributes.scroll = .disabled
attributes.entranceAnimation = .init(