Skip to content
Snippets Groups Projects
Unverified Commit 1959cb46 authored by Kagami Sascha Rosylight's avatar Kagami Sascha Rosylight Committed by GitHub
Browse files

Default to `animation: false` when prefers-reduced-motion is set (#9690)

* Default to `animation: false` when prefers-reduced-motion is set

* `.matches`
parent 1d6767ef
No related branches found
No related tags found
No related merge requests found
......@@ -156,7 +156,7 @@ export const defaultStore = markRaw(new Storage('base', {
},
animation: {
where: 'device',
default: true,
default: !matchMedia('(prefers-reduced-motion)').matches,
},
animatedMfm: {
where: 'device',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment