forked from Berry-Dash/launcher
Fix titles (tooltip type things) for launch and installs buttons
This commit is contained in:
@@ -83,7 +83,11 @@ export default function Installs () {
|
|||||||
? ''
|
? ''
|
||||||
: 'cursor-pointer'
|
: 'cursor-pointer'
|
||||||
}`}
|
}`}
|
||||||
title='Click to launch game'
|
title={
|
||||||
|
normalConfig?.settings.useLegacyInteractButtons
|
||||||
|
? ''
|
||||||
|
: 'Click to launch game'
|
||||||
|
}
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
if (normalConfig?.settings.useLegacyInteractButtons) return
|
if (normalConfig?.settings.useLegacyInteractButtons) return
|
||||||
const verInfo = getVersionInfo(entry)
|
const verInfo = getVersionInfo(entry)
|
||||||
@@ -166,6 +170,7 @@ export default function Installs () {
|
|||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
hidden={!normalConfig?.settings.useLegacyInteractButtons}
|
hidden={!normalConfig?.settings.useLegacyInteractButtons}
|
||||||
|
title='Click to launch game'
|
||||||
>
|
>
|
||||||
Launch
|
Launch
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -74,7 +74,11 @@ export default function Installs () {
|
|||||||
? ''
|
? ''
|
||||||
: 'cursor-pointer'
|
: 'cursor-pointer'
|
||||||
}`}
|
}`}
|
||||||
title='Click to view game installs'
|
title={
|
||||||
|
normalConfig?.settings.useLegacyInteractButtons
|
||||||
|
? ''
|
||||||
|
: 'Click to view game installs'
|
||||||
|
}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (normalConfig?.settings.useLegacyInteractButtons) return
|
if (normalConfig?.settings.useLegacyInteractButtons) return
|
||||||
router.push('/game?id=' + i.id)
|
router.push('/game?id=' + i.id)
|
||||||
@@ -135,6 +139,7 @@ export default function Installs () {
|
|||||||
<div
|
<div
|
||||||
className='flex flex-row items-center gap-2'
|
className='flex flex-row items-center gap-2'
|
||||||
hidden={!normalConfig?.settings.useLegacyInteractButtons}
|
hidden={!normalConfig?.settings.useLegacyInteractButtons}
|
||||||
|
title='Click to view game installs'
|
||||||
>
|
>
|
||||||
<Link
|
<Link
|
||||||
className={`button ${
|
className={`button ${
|
||||||
|
|||||||
Reference in New Issue
Block a user