ゲーミングのスピードの調整
This commit is contained in:
parent
8154d86a9d
commit
1a9d3737b1
|
@ -825,6 +825,8 @@ priority: "優先度"
|
||||||
high: "高"
|
high: "高"
|
||||||
middle: "中"
|
middle: "中"
|
||||||
low: "低"
|
low: "低"
|
||||||
|
GamingSpeedChange: "ゲーミングの光るスピードの調整"
|
||||||
|
GamingSpeedChangeInfo: "左にすれば早くなる、右にすれば遅くなる。それだけ。"
|
||||||
emailNotConfiguredWarning: "メールアドレスの設定がされていません。"
|
emailNotConfiguredWarning: "メールアドレスの設定がされていません。"
|
||||||
ratio: "比率"
|
ratio: "比率"
|
||||||
previewNoteText: "本文をプレビュー"
|
previewNoteText: "本文をプレビュー"
|
||||||
|
@ -1863,6 +1865,7 @@ _widgets:
|
||||||
instanceInfo: "サーバー情報"
|
instanceInfo: "サーバー情報"
|
||||||
memo: "付箋"
|
memo: "付箋"
|
||||||
notifications: "通知"
|
notifications: "通知"
|
||||||
|
gamingMode: "ゲーミングモード"
|
||||||
timeline: "タイムライン"
|
timeline: "タイムライン"
|
||||||
calendar: "カレンダー"
|
calendar: "カレンダー"
|
||||||
trends: "トレンド"
|
trends: "トレンド"
|
||||||
|
|
|
@ -167,6 +167,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #caption>{{ i18n.ts.numberOfPageCacheDescription }}</template>
|
<template #caption>{{ i18n.ts.numberOfPageCacheDescription }}</template>
|
||||||
</MkRange>
|
</MkRange>
|
||||||
<MkRange v-model="numberOfGamingSpeed" :min="1" :max="60" :step="1" easing>
|
<MkRange v-model="numberOfGamingSpeed" :min="1" :max="60" :step="1" easing>
|
||||||
|
<template #label>{{ i18n.ts.GamingSpeedChange }}</template>
|
||||||
|
<template #caption>{{ i18n.ts.GamingSpeedChangeInfo }}</template>
|
||||||
</MkRange>
|
</MkRange>
|
||||||
</div>
|
</div>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
|
@ -269,6 +271,7 @@ watch(lang, () => {
|
||||||
miLocalStorage.setItem('lang', lang.value as string);
|
miLocalStorage.setItem('lang', lang.value as string);
|
||||||
miLocalStorage.removeItem('locale');
|
miLocalStorage.removeItem('locale');
|
||||||
});
|
});
|
||||||
|
document.documentElement.style.setProperty('--gamingspeed', numberOfGamingSpeed.value+'s');
|
||||||
watch(numberOfGamingSpeed, () =>{
|
watch(numberOfGamingSpeed, () =>{
|
||||||
document.documentElement.style.setProperty('--gamingspeed', numberOfGamingSpeed.value+'s');
|
document.documentElement.style.setProperty('--gamingspeed', numberOfGamingSpeed.value+'s');
|
||||||
})
|
})
|
||||||
|
@ -303,7 +306,6 @@ watch([
|
||||||
highlightSensitiveMedia,
|
highlightSensitiveMedia,
|
||||||
keepScreenOn,
|
keepScreenOn,
|
||||||
showMediaTimeline,
|
showMediaTimeline,
|
||||||
enableGamingMode
|
|
||||||
], async () => {
|
], async () => {
|
||||||
await reloadAsk();
|
await reloadAsk();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue