diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index e70acf1..ebd63c9 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -36,7 +36,8 @@ export default function Sidebar () { category, setCategory, sidebarAlwaysShowGames, - linuxUseWine + linuxUseWine, + setManagingGame } = useGlobal() const pathname = usePathname() @@ -120,6 +121,13 @@ export default function Sidebar () { setCategory(-1) router.push('/main/game?id=' + i.id) }} + onContextMenu={e => { + e.preventDefault() + setManagingGame(i.id) + setPopupMode(5) + setShowPopup(true) + setFadeOut(false) + }} >