Make this work here for consistency

This commit is contained in:
Lncvrt committed 2026-05-05 17:44:56 -07:00
1 parent 9550d29821
commit 830378448e
1 file changed
+9 -1
+9 -1
View File
@@ -36,7 +36,8 @@ export default function Sidebar () {
category, category,
setCategory, setCategory,
sidebarAlwaysShowGames, sidebarAlwaysShowGames,
linuxUseWine linuxUseWine,
setManagingGame
} = useGlobal() } = useGlobal()
const pathname = usePathname() const pathname = usePathname()
@@ -120,6 +121,13 @@ export default function Sidebar () {
setCategory(-1) setCategory(-1)
router.push('/main/game?id=' + i.id) router.push('/main/game?id=' + i.id)
}} }}
onContextMenu={e => {
e.preventDefault()
setManagingGame(i.id)
setPopupMode(5)
setShowPopup(true)
setFadeOut(false)
}}
> >
<div className='flex items-center'> <div className='flex items-center'>
<FontAwesomeIcon <FontAwesomeIcon