mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
Default to animation: false
when prefers-reduced-motion is set (#9690)
* Default to `animation: false` when prefers-reduced-motion is set * `.matches`
This commit is contained in:
parent
1d6767ef0c
commit
1959cb462b
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
animation: {
|
animation: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: true,
|
default: !matchMedia('(prefers-reduced-motion)').matches,
|
||||||
},
|
},
|
||||||
animatedMfm: {
|
animatedMfm: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
|
|
Loading…
Reference in a new issue