1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-07-14 16:30:34 +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))
if #available(iOS 10.0, *) {
displayLink?.preferredFramesPerSecond = 1
displayLink?.preferredFramesPerSecond = 60
} else {
displayLink?.frameInterval = 1
}