1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-08-16 08:30:33 +03:00

fix unsmooth group animation

This commit is contained in:
Mark Goldin 2021-10-29 14:57:38 +07:00
parent f9c0972648
commit 7b54ddaf36

View File

@ -24,7 +24,7 @@ class MDisplayLink: MDisplayLinkProtocol {
displayLink = CADisplayLink(target: self, selector: #selector(updateHandler)) displayLink = CADisplayLink(target: self, selector: #selector(updateHandler))
if #available(iOS 10.0, *) { if #available(iOS 10.0, *) {
displayLink?.preferredFramesPerSecond = 1 displayLink?.preferredFramesPerSecond = 60
} else { } else {
displayLink?.frameInterval = 1 displayLink?.frameInterval = 1
} }