disableShowingAnimatedImagesのデフォルト値をprefers-reduced-motionにする

Resolve #9821
Related to #6501
This commit is contained in:
tamaina 2023-02-06 11:29:48 +00:00
parent 6501f80fc7
commit 9843c596d8

View File

@ -168,7 +168,7 @@ export const defaultStore = markRaw(new Storage('base', {
}, },
disableShowingAnimatedImages: { disableShowingAnimatedImages: {
where: 'device', where: 'device',
default: false, default: matchMedia('(prefers-reduced-motion)').matches,
}, },
emojiStyle: { emojiStyle: {
where: 'device', where: 'device',