From 35756c484d369ad2255400ff48fde0a6f6456e4a Mon Sep 17 00:00:00 2001 From: Cal Stephens Date: Mon, 10 Jun 2024 09:22:41 -0700 Subject: [PATCH] Disable implicit animations for shadow properties --- .../LayerContainers/CompLayers/CompositionLayer.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/Private/MainThread/LayerContainers/CompLayers/CompositionLayer.swift b/Sources/Private/MainThread/LayerContainers/CompLayers/CompositionLayer.swift index c929772526..41ad736496 100644 --- a/Sources/Private/MainThread/LayerContainers/CompLayers/CompositionLayer.swift +++ b/Sources/Private/MainThread/LayerContainers/CompLayers/CompositionLayer.swift @@ -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