diff --git a/Sources/Private/CoreAnimation/CoreAnimationLayer.swift b/Sources/Private/CoreAnimation/CoreAnimationLayer.swift index 0d7e9ac76b..2cd7f8e4f9 100644 --- a/Sources/Private/CoreAnimation/CoreAnimationLayer.swift +++ b/Sources/Private/CoreAnimation/CoreAnimationLayer.swift @@ -424,9 +424,11 @@ extension CoreAnimationLayer: RootAnimationLayer { var respectAnimationFrameRate: Bool { get { false } set { - logger.assertionFailure(""" - The Core Animation rendering engine currently doesn't support `respectAnimationFrameRate`) - """) + if newValue { + logger.assertionFailure(""" + The Core Animation rendering engine currently doesn't support `respectAnimationFrameRate`) + """) + } } }