tweak Pari Plus settings page

This commit is contained in:
fly_mc 2024-11-01 22:02:48 +08:00
parent f695820ba6
commit aa8c0c7c1d

View file

@ -9,8 +9,8 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.pariPlusInfo }} {{ i18n.ts.pariPlusInfo }}
</MkInfo> </MkInfo>
<FormSection> <FormSection>
<div class="label">{{ i18n.ts.pariPlusSystemSettings }}</div>
<div class="_gaps_m"> <div class="_gaps_m">
<div class="label">{{ i18n.ts.pariPlusSystemSettings }}</div>
<div class="_gaps_s"> <div class="_gaps_s">
<MkSwitch v-model="useHardwareAcceleration">{{ i18n.ts.useHardwareAcceleration }}</MkSwitch> <MkSwitch v-model="useHardwareAcceleration">{{ i18n.ts.useHardwareAcceleration }}</MkSwitch>
<MkSwitch v-model="enableRenderingOptimization">{{ i18n.ts.enableRenderingOptimization }}</MkSwitch> <MkSwitch v-model="enableRenderingOptimization">{{ i18n.ts.enableRenderingOptimization }}</MkSwitch>
@ -18,8 +18,8 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
</FormSection> </FormSection>
<FormSection> <FormSection>
<div class="label">{{ i18n.ts.pariPlusAppearanceSettings }}</div>
<div class="_gaps_m"> <div class="_gaps_m">
<div class="label">{{ i18n.ts.pariPlusAppearanceSettings }}</div>
<div class="_gaps_s"> <div class="_gaps_s">
<MkRange v-model="fontSizeNumber" :min="0" :max="10" :step="1" continuousUpdate> <MkRange v-model="fontSizeNumber" :min="0" :max="10" :step="1" continuousUpdate>
<template #label>{{ i18n.ts.fontSize }}</template> <template #label>{{ i18n.ts.fontSize }}</template>
@ -64,6 +64,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSection> <FormSection>
<div class="_gaps_m"> <div class="_gaps_m">
<div class="label">{{ i18n.ts.pariPlusNoteSettings }}</div> <div class="label">{{ i18n.ts.pariPlusNoteSettings }}</div>
<div class="_gaps_s">
<MkSwitch v-model="autoTranslateButton">{{ i18n.ts.autoTranslateButton }}</MkSwitch> <MkSwitch v-model="autoTranslateButton">{{ i18n.ts.autoTranslateButton }}</MkSwitch>
<MkSwitch v-model="showDetailTimeWhenHover">{{ i18n.ts.showDetailTimeWhenHover }}</MkSwitch> <MkSwitch v-model="showDetailTimeWhenHover">{{ i18n.ts.showDetailTimeWhenHover }}</MkSwitch>
<MkSwitch v-model="noteClickToOpen">{{ i18n.ts.noteClickToOpen }}</MkSwitch> <MkSwitch v-model="noteClickToOpen">{{ i18n.ts.noteClickToOpen }}</MkSwitch>
@ -80,6 +81,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #caption>{{ i18n.ts.autoSpacingDescription }}</template> <template #caption>{{ i18n.ts.autoSpacingDescription }}</template>
</MkSelect> </MkSelect>
</div> </div>
</div>
</FormSection> </FormSection>
</div> </div>
</template> </template>