Fix titles (tooltip type things) for launch and installs buttons

This commit is contained in:
2025-12-20 19:59:07 -07:00
parent 370fa2b85d
commit 2e1cd07b99
2 changed files with 12 additions and 2 deletions

View File

@@ -83,7 +83,11 @@ export default function Installs () {
? ''
: 'cursor-pointer'
}`}
title='Click to launch game'
title={
normalConfig?.settings.useLegacyInteractButtons
? ''
: 'Click to launch game'
}
onClick={async () => {
if (normalConfig?.settings.useLegacyInteractButtons) return
const verInfo = getVersionInfo(entry)
@@ -166,6 +170,7 @@ export default function Installs () {
})
}}
hidden={!normalConfig?.settings.useLegacyInteractButtons}
title='Click to launch game'
>
Launch
</button>

View File

@@ -74,7 +74,11 @@ export default function Installs () {
? ''
: 'cursor-pointer'
}`}
title='Click to view game installs'
title={
normalConfig?.settings.useLegacyInteractButtons
? ''
: 'Click to view game installs'
}
onClick={() => {
if (normalConfig?.settings.useLegacyInteractButtons) return
router.push('/game?id=' + i.id)
@@ -135,6 +139,7 @@ export default function Installs () {
<div
className='flex flex-row items-center gap-2'
hidden={!normalConfig?.settings.useLegacyInteractButtons}
title='Click to view game installs'
>
<Link
className={`button ${