cleanup and context menu fixes

This commit is contained in:
subnub
2025-01-11 02:56:34 -05:00
parent 56c57a6cdf
commit 1ab318fd2c
3 changed files with 16 additions and 2 deletions
+2
View File
@@ -38,6 +38,8 @@ export const useContextMenu = () => {
let X = e.clientX || touches.clientX;
let Y = e.clientY || touches.clientY;
if (contextData.selected) return;
timeoutRef.current = setTimeout(() => {
console.log("timeout");
setContextData({