theme: add missing reduced-motion user preference query #104748

Merged
Aaron Carlisle merged 1 commits from Tobias/blender-manual:axs into main 2024-04-02 06:10:33 +02:00
Member
No description provided.
Tobias Heinke added 1 commit 2024-03-24 15:16:48 +01:00
Tobias Heinke requested review from Aaron Carlisle 2024-03-24 15:17:09 +01:00
Member

Could the animation handling in JS be refractored to css? I see there is some dynamics with the timing but the difference is so little, just make it the same.

Also when submitting a PR please include a description of the change and why.

It's not apparent that this PR adds support for prefers-reduced-motion without having to read through code.

Could the animation handling in JS be refractored to css? I see there is some dynamics with the timing but the difference is so little, just make it the same. Also when submitting a PR please include a description of the change and _why_. It's not apparent that this PR adds support for `prefers-reduced-motion` without having to read through code.
Tobias Heinke changed title from theme: reduced motion to theme: add missing reduced-motion user preference 2024-04-02 05:51:42 +02:00
Tobias Heinke changed title from theme: add missing reduced-motion user preference to theme: add missing reduced-motion user preference query 2024-04-02 05:55:44 +02:00
Author
Member

Sure, but this should be part of a bigger refactor (no/ less class properties, toggling event handler really needed?).
It probably needs to be interrupted with requestAnimationFrame or setTimeout to be stable.
So not trivial and requires testing.

Sure, but this should be part of a bigger refactor (no/ less class properties, toggling event handler really needed?). It probably needs to be interrupted with `requestAnimationFrame` or `setTimeout` to be stable. So not trivial and requires testing.
Aaron Carlisle approved these changes 2024-04-02 06:10:08 +02:00
Aaron Carlisle merged commit bfd48811db into main 2024-04-02 06:10:33 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#104748
No description provided.