diff --git a/locales/en-US.yml b/locales/en-US.yml index 527bee9af..407be905f 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1291,7 +1291,6 @@ pariPlusSystemSettings: "Pari Plus! system settings" pariPlusNoteSettings: "Pari Plus! note settings" pariPlusAppearanceSettings: "Pari Plus! appearance settings" pariPlusFontPicker: "Default fonts" -useHardwareAcceleration: "Enable hardware acceleration" enableRenderingOptimization: "Enable rendering optimization" autoTranslateButton: "Display translation function on notes in different languages" showDetailTimeWhenHover: "Hover the timestamp of the note to expand the detailed time" diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml index 8c1adf022..8126862fe 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -1298,7 +1298,6 @@ pariPlusSystemSettings: "Pari Plus! 系统设置" pariPlusNoteSettings: "Pari Plus! 帖文设置" pariPlusAppearanceSettings: "Pari Plus! 外观设置" pariPlusFontPicker: "默认字体" -useHardwareAcceleration: "启用硬件加速" enableRenderingOptimization: "启用渲染优化" autoTranslateButton: "在不同语言的帖文上显示翻译功能" showDetailTimeWhenHover: "悬浮/长按帖文时间戳时,展开详细时间" diff --git a/locales/zh-TW.yml b/locales/zh-TW.yml index 597954dd8..9e5bc64c3 100644 --- a/locales/zh-TW.yml +++ b/locales/zh-TW.yml @@ -1298,7 +1298,6 @@ pariPlusSystemSettings: "Pari Plus! 系統設定" pariPlusNoteSettings: "Pari Plus! 貼文設定" pariPlusAppearanceSettings: "Pari Plus! 外觀設定" pariPlusFontPicker: "預設字體" -useHardwareAcceleration: "啓用硬件加速" enableRenderingOptimization: "啓用渲染優化" autoTranslateButton: "在不同語言的貼文上顯示翻譯功能" showDetailTimeWhenHover: "長按貼文時間戳記時展開詳細時間" diff --git a/packages/frontend/src/boot/common.ts b/packages/frontend/src/boot/common.ts index 2edc1dba2..bfe5c4f5f 100644 --- a/packages/frontend/src/boot/common.ts +++ b/packages/frontend/src/boot/common.ts @@ -201,10 +201,6 @@ export async function common(createVue: () => App) { } }, { immediate: true }); - watch(defaultStore.reactiveState.useHardwareAcceleration, v => { - document.documentElement.classList.toggle('font-smoothing-auto', !v); - }, { immediate: true }); - // Keep screen on const onVisibilityChange = () => document.addEventListener('visibilitychange', () => { if (document.visibilityState === 'visible') { diff --git a/packages/frontend/src/pages/settings/pari.vue b/packages/frontend/src/pages/settings/pari.vue index 79f32f3fc..f334338d1 100644 --- a/packages/frontend/src/pages/settings/pari.vue +++ b/packages/frontend/src/pages/settings/pari.vue @@ -12,7 +12,6 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.pariPlusSystemSettings }}
- {{ i18n.ts.useHardwareAcceleration }} {{ i18n.ts.enableRenderingOptimization }}
diff --git a/packages/frontend/src/store.ts b/packages/frontend/src/store.ts index 0edd1d16f..a6fbaf254 100644 --- a/packages/frontend/src/store.ts +++ b/packages/frontend/src/store.ts @@ -511,10 +511,6 @@ export const defaultStore = markRaw(new Storage('base', { where: 'device', default: { type: 'syuilo/bubble1', volume: 1 } as SoundStore, }, - useHardwareAcceleration: { - where: 'device', - default: true, - }, enableRenderingOptimization: { where: 'device', default: true, diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index 3af6b813c..622ef1435 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -14,16 +14,6 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -* { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.font-smoothing-auto * { - -webkit-font-smoothing: auto; - -moz-osx-font-smoothing: auto; -} - :root { --MI-radius: 12px; --MI-marginFull: 16px;