mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09: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
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user