Skip to content

Commit

Permalink
Added dedicated lanes for Attune and Equip controls. If they are not …
Browse files Browse the repository at this point in the history
…present, a placeholder will keep the icons lined up with other tables.
  • Loading branch information
kgar committed Nov 10, 2023
1 parent 27f4ead commit dc0dabd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sheets/character/parts/InventoryList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,13 @@
<ItemControls>
{#if ctx?.attunement}
<AttuneControl {item} {ctx} />
{:else}
<span role="presentation" />
{/if}
{#if ctx?.canToggle}
<EquipControl {item} {ctx} />
{:else}
<span role="presentation" />
{/if}
<ItemFavoriteControl {item} />
<ItemEditControl {item} />
Expand Down

0 comments on commit dc0dabd

Please sign in to comment.