Skip to content

Commit

Permalink
Merge pull request exyte#779 from exyte/fix/smooth-group-animation
Browse files Browse the repository at this point in the history
fix unsmooth group animation
  • Loading branch information
ystrot authored Oct 29, 2021
2 parents f9c0972 + 7b54dda commit 5cde520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/platform/iOS/MDisplayLink_iOS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MDisplayLink: MDisplayLinkProtocol {

displayLink = CADisplayLink(target: self, selector: #selector(updateHandler))
if #available(iOS 10.0, *) {
displayLink?.preferredFramesPerSecond = 1
displayLink?.preferredFramesPerSecond = 60
} else {
displayLink?.frameInterval = 1
}
Expand Down

0 comments on commit 5cde520

Please sign in to comment.