Skip to content

Commit

Permalink
fix unsmooth group animation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoldin committed Oct 29, 2021
1 parent f9c0972 commit 7b54dda
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 7b54dda

Please sign in to comment.