chore(frontend): アニメーション画像設定をパフォーマンスセクションにも追加

This commit is contained in:
syuilo 2025-11-10 13:23:23 +09:00
parent ca1bf21dcf
commit 23d2d191a0
3 changed files with 17 additions and 0 deletions

4
locales/index.d.ts vendored
View File

@ -6187,6 +6187,10 @@ export interface Locale extends ILocale {
*
*/
"emojiPaletteBanner": string;
/**
*
*/
"enableAnimatedImages": string;
"_chat": {
/**
*

View File

@ -1554,6 +1554,7 @@ _settings:
showAvailableReactionsFirstInNote: "利用できるリアクションを先頭に表示"
showPageTabBarBottom: "ページのタブバーを下部に表示"
emojiPaletteBanner: "絵文字ピッカーに固定表示するプリセットをパレットとして登録したり、ピッカーの表示方法をカスタマイズしたりできます。"
enableAnimatedImages: "アニメーション画像を有効にする"
_chat:
showSenderName: "送信者の名前を表示"

View File

@ -603,6 +603,18 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkPreferenceContainer>
</SearchMarker>
<SearchMarker :keywords="['animation', 'image', 'photo', 'picture', 'media', 'thumbnail', 'gif']">
<MkPreferenceContainer k="disableShowingAnimatedImages">
<MkSwitch :modelValue="!disableShowingAnimatedImages" @update:modelValue="v => disableShowingAnimatedImages = !v">
<template #label><SearchLabel>{{ i18n.ts._settings.enableAnimatedImages }}</SearchLabel></template>
<template #caption>
<SearchText>{{ i18n.ts.turnOffToImprovePerformance }}</SearchText>
<div>{{ i18n.ts.disableShowingAnimatedImages_caption }}</div>
</template>
</MkSwitch>
</MkPreferenceContainer>
</SearchMarker>
<SearchMarker :keywords="['blur']">
<MkPreferenceContainer k="useBlurEffect">
<MkSwitch v-model="useBlurEffect">