add touch option: four finger tap

This commit is contained in:
Gabe Yuan
2023-11-22 11:27:41 +08:00
parent 5bff84ace1
commit edc25f7da4
2 changed files with 5 additions and 1 deletions

View File

@@ -679,4 +679,8 @@ export const I18N = {
zh: `三指轻触`,
en: `Three finger tap`,
},
touch_tap_4: {
zh: `四指轻触`,
en: `Four finger tap`,
},
};

View File

@@ -181,7 +181,7 @@ export default function Settings() {
label={i18n("touch_translate_shortcut")}
onChange={handleChange}
>
{[0, 2, 3].map((item) => (
{[0, 2, 3, 4].map((item) => (
<MenuItem key={item} value={item}>
{i18n(`touch_tap_${item}`)}
</MenuItem>