diff --git a/src/pages/_layout.tsx b/src/pages/_layout.tsx index 43bad1c..e32a7c1 100644 --- a/src/pages/_layout.tsx +++ b/src/pages/_layout.tsx @@ -84,6 +84,10 @@ const Layout = () => { elevation={0} className={`${isWinOs ? "windows " : ""}layout`} onPointerDown={onDragging} + onContextMenu={(e) => { + // only prevent it on Windows + if (isWinOs) e.preventDefault(); + }} sx={[ (theme) => ({ bgcolor: alpha(theme.palette.background.paper, blur ? 0.85 : 1),