Added tooltips to buttons on textures page

This commit is contained in:
tripp 2022-10-03 23:32:27 -04:00
parent 23d166c512
commit c67b1fd8bc

View file

@ -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>