diff --git a/apps/client/src/components/Keymap.tsx b/apps/client/src/components/Keymap.tsx index 14bc3749..7d876bf1 100644 --- a/apps/client/src/components/Keymap.tsx +++ b/apps/client/src/components/Keymap.tsx @@ -26,7 +26,7 @@ const KeyMap = () => { position: 'fixed', bottom: theme.spacing(2), right: theme.spacing(2), - zIndex: 1300, + zIndex: 1200, }} > { y: curSvgPoint.y - startDragPoint.y, }; + if (Math.abs(offset.x) <= 22.5 && Math.abs(offset.y) <= 22.5) return; + updateFn({ x: initialPoint.x + offset.x, y: initialPoint.y + offset.y,