Skip to content

Commit

Permalink
Fix slow animation
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Jan 29, 2025
1 parent 1c66e51 commit 4d356ce
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ RequestRenderFunction makeRequestRender(REANodesManager *nodesManager)
// TODO macOS targetTimestamp isn't available on macOS
auto targetTimestamp = displayLink.timestamp + displayLink.duration;
#endif
double frameTimestamp =

(targetTimestamp) * 1000;
const double frameTimestamp =
calculateTimestampWithSlowAnimations(targetTimestamp) * 1000;
onRender(frameTimestamp);
}];
};
Expand Down

0 comments on commit 4d356ce

Please sign in to comment.