Skip to content

Conversation

maximkrouk
Copy link
Contributor

  • Align with SwiftUI animations

    A quote from SUI docs:

    • Setting the speed of an animation changes the duration of the animation by a factor of speed. A higher speed value causes a faster animation sequence due to a shorter duration. For example, a one-second animation with a speed of 2.0 completes in half the time (half a second).
    • Setting speed to a lower number slows the animation, extending its duration. For example, a one-second animation with a speed of 0.25 takes four seconds to complete.
  • Add issue reporting
    Since the behaviour is inverted now there is a chance of division by zero

maximkrouk and others added 4 commits March 4, 2025 21:14
- Align with SwiftUI animations
- Add issue reporting
Refactor AppKitAnimation by removing unnecessary closing brace and adjusting extensions.
Updated warning message for animation speed adjustment.
Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catches, thanks!

@stephencelis stephencelis merged commit a7cc4ec into pointfreeco:main Sep 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants