From 2e1cd07b99dcae789c8790d05a85a8bd22dc5aa6 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sat, 20 Dec 2025 19:59:07 -0700 Subject: [PATCH] Fix titles (tooltip type things) for launch and installs buttons --- src/app/game/page.tsx | 7 ++++++- src/app/page.tsx | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/app/game/page.tsx b/src/app/game/page.tsx index 1ddf9f8..7b35fce 100644 --- a/src/app/game/page.tsx +++ b/src/app/game/page.tsx @@ -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 diff --git a/src/app/page.tsx b/src/app/page.tsx index 6b4edb4..8cd1f48 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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 () {