touch operation

This commit is contained in:
Gabe Yuan
2023-11-11 16:59:38 +08:00
parent 46428b7c7f
commit 4b23ee733f
11 changed files with 58 additions and 168 deletions

View File

@@ -15,6 +15,7 @@ import {
showTransbox,
windowListener,
showErr,
touchOperation,
} from "./common";
function runtimeListener(translator) {
@@ -70,7 +71,11 @@ function runtimeListener(translator) {
// 浮球按钮
await showFab(translator);
// 触屏操作
touchOperation(translator);
} catch (err) {
showErr(err);
console.error("[KISS-Translator]", err);
showErr(err.message);
}
})();