Skip to content

Commit

Permalink
Don't asset when setting respectAnimationFrameRate = false on Core …
Browse files Browse the repository at this point in the history
…Animation engine (#2482)
  • Loading branch information
DarkSatyr authored Sep 18, 2024
1 parent 81b2805 commit 9e8cd70
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Sources/Private/CoreAnimation/CoreAnimationLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
""")
}
}
}

Expand Down

0 comments on commit 9e8cd70

Please sign in to comment.