Skip to content

Commit

Permalink
Disable implicit animations for shadow properties
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Jun 10, 2024
1 parent c577f1e commit 35756c4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ class CompositionLayer: CALayer, KeypathSearchable {
"bounds" : NSNull(),
"anchorPoint" : NSNull(),
"sublayerTransform" : NSNull(),
"shadowOpacity" : NSNull(),
"shadowOffset" : NSNull(),
"shadowColor" : NSNull(),
"shadowRadius" : NSNull(),
]

contentsLayer.anchorPoint = .zero
Expand Down

0 comments on commit 35756c4

Please sign in to comment.