From 89d59752674ff9a488517fdb1d8bbb5416c562bf Mon Sep 17 00:00:00 2001 From: przeq piciel Date: Sat, 31 Aug 2024 20:13:14 +0000 Subject: [PATCH] moved to left popup div --- app/components/FilesEditor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/FilesEditor/index.tsx b/app/components/FilesEditor/index.tsx index 2c40ad9..c890d38 100644 --- a/app/components/FilesEditor/index.tsx +++ b/app/components/FilesEditor/index.tsx @@ -89,7 +89,7 @@ const Index = () => { const handleClickContextMenu = useCallback( (e: React.MouseEvent, file: FileProps) => { e.preventDefault(); - setContextMenu({ show: true, x: e.pageX, y: e.pageY, file }); + setContextMenu({ show: true, x: e.pageX - 100, y: e.pageY, file }); }, [] );