From 66fc2d22ed46fc3d23770e35ed54d2cbb7505567 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Mon, 25 Dec 2023 17:25:00 +0800 Subject: [PATCH] feat: toto: selection translation on mobile support --- src/views/Selection/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Selection/index.js b/src/views/Selection/index.js index 9e4a6f7..5ada382 100644 --- a/src/views/Selection/index.js +++ b/src/views/Selection/index.js @@ -65,7 +65,7 @@ export default function Slection({ contextMenus, tranboxSetting, transApis }) { setPosition({ x: pageX, y: pageY }); } - // TODO: mobile support + // toto: mobile support window.addEventListener("mouseup", handleMouseup); // window.addEventListener(isMobile ? "touchend" : "mouseup", handleMouseup); return () => {