Skip to content

Commit

Permalink
Fix titlebar doubleclick not toggling maximize
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Oct 15, 2024
1 parent a8045de commit 7edb3db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/src/lib/components/TitleBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@
</script>

<div class="flex items-center h-9">
<div class="dragregion grow flex items-center">
<!-- System level keybinds can be used instead -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div class="dragregion grow flex items-center" on:click={toggleMaximize}>
<img class="h-7 pl-4 pr-2" alt="SMM Icon" src="/images/smm_icon_small.png" />
<div>
<span class="app-title pt-3 text-base">Satisfactory Mod Manager v{$version}</span>
</div>
</div>

<!-- System level keybinds can be used instead -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div class="hover:bg-gray-500 p-1.5 w-11 cursor-default grid justify-center items-center h-full" on:click={minimize}>
Expand Down

0 comments on commit 7edb3db

Please sign in to comment.