Skip to content

Conversation

@Dimillian
Copy link
Owner

Motivation

  • Provide global suppression of implicit animations when the user's Reduce Motion accessibility setting is enabled.
  • Ensure the main window scene honors accessibilityReduceMotion at the root of the view hierarchy.

Description

  • Added @Environment(\.accessibilityReduceMotion) private var reduceMotion to IceCubesApp.
  • Applied a .transaction on the root AppView in the WindowGroup to set transaction.disablesAnimations = true when reduceMotion is true.
  • Changes made in IceCubesApp.swift and IceCubesApp+Scene.swift.

Testing

  • No automated tests were run because Xcode build tooling was unavailable in this environment.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants