mirror of
https://github.com/open-goal/launcher.git
synced 2024-10-20 04:57:38 -04:00
Added tooltips to buttons on textures page
This commit is contained in:
parent
23d166c512
commit
c67b1fd8bc
|
@ -18,6 +18,7 @@
|
|||
Checkbox,
|
||||
ButtonGroup,
|
||||
Button,
|
||||
Tooltip,
|
||||
} from "flowbite-svelte";
|
||||
|
||||
interface TexturePack {
|
||||
|
@ -157,12 +158,14 @@
|
|||
{disabled}
|
||||
on:click={handleAddTexturePack}>Add Pack</Button
|
||||
>
|
||||
<Tooltip rounded={false}>Add a new pack to the table</Tooltip>
|
||||
<Button
|
||||
class="!rounded-none"
|
||||
color="red"
|
||||
disabled={disabled || selectedTexturePacks.length === 0}
|
||||
on:click={handleDeleteTexturePack}>Delete Pack</Button
|
||||
>
|
||||
<Tooltip rounded={false}>Delete selected pack(s) from the table</Tooltip>
|
||||
<Button
|
||||
class="!rounded-none"
|
||||
color="dark"
|
||||
|
@ -170,6 +173,10 @@
|
|||
on:click={async () => await handleCompileTextures()}
|
||||
>Compile Changes</Button
|
||||
>
|
||||
<Tooltip rounded={false}
|
||||
>Compile the game with the selected packs in the order they were
|
||||
selected</Tooltip
|
||||
>
|
||||
</ButtonGroup>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue