Skip to content

Commit

Permalink
trigger mod dropdowns on hover (#647)
Browse files Browse the repository at this point in the history
the other day i made the dropdowns on the main page trigger on hover and
had to add it for the mods page too.
  • Loading branch information
trippjoe authored Jan 3, 2025
1 parent 5e52740 commit 098ac3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/games/GameControlsMod.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
{/if}
</Button>
<Dropdown
trigger="hover"
placement="top-end"
class="!bg-slate-900 overflow-y-auto px-2 py-2 max-h-[300px]"
>
Expand Down Expand Up @@ -328,7 +329,7 @@
>
{$_("gameControls_button_advanced")}
</Button>
<Dropdown placement="top-end" class="!bg-slate-900">
<Dropdown trigger="hover" placement="top-end" class="!bg-slate-900">
<DropdownItem
on:click={async () => {
launchMod(getInternalName(activeGame), true, modName, modSource);
Expand Down Expand Up @@ -388,7 +389,7 @@
>
<IconCog />
</Button>
<Dropdown placement="top-end" class="!bg-slate-900">
<Dropdown trigger="hover" placement="top-end" class="!bg-slate-900">
<!-- TODO - screenshot folder? how do we even configure where those go? -->
{#if settingsDir}
<DropdownItem
Expand Down

0 comments on commit 098ac3d

Please sign in to comment.