feat: tranbox offset

This commit is contained in:
Gabe Yuan
2024-04-21 19:19:06 +08:00
parent 319aaf8132
commit de7a97fb76
5 changed files with 64 additions and 25 deletions

View File

@@ -430,6 +430,8 @@ export const DEFAULT_TRANBOX_SETTING = {
tranboxShortcut: DEFAULT_TRANBOX_SHORTCUT,
btnOffsetX: 10,
btnOffsetY: 10,
boxOffsetX: 0,
boxOffsetY: 10,
hideTranBtn: false, // 是否隐藏翻译按钮
hideClickAway: false, // 是否点击外部关闭弹窗
simpleStyle: false, // 是否简洁界面