mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 23:54:32 +00:00
BugFix: LiveActivity expands too much
This commit is contained in:
parent
e500f5a5b2
commit
f8466c2027
5 changed files with 162 additions and 16 deletions
|
|
@ -52,6 +52,8 @@ struct AnimationTransformConfig: Codable, Hashable, Equatable {
|
|||
var cropHeight: CGFloat = 20
|
||||
var rotation: CGFloat = 0
|
||||
var opacity: CGFloat = 1.0
|
||||
var paddingBottom: CGFloat = 0 // Allow adjustment to fill notch from bottom
|
||||
var expandWithAnimation: Bool = false // Whether notch should expand horizontally with animation
|
||||
|
||||
static let `default` = AnimationTransformConfig()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue