Highlight row action row rather than select

This commit is contained in:
Andrew Kingston 2024-09-04 11:28:49 +01:00
parent 07df8157b3
commit 238b1cecf1
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -39,6 +39,8 @@
resizable={false}
on:close
on:open
on:mouseenter
on:mouseleave
>
<Menu>
{#each buttons as button}

View File

@ -110,7 +110,7 @@
<div class="generate-section__options">
<div>
<ListItem
title="CRUD app"
title="Table"
icon="TableEdit"
hoverable
on:click={() => startScreenWizard(AutoScreenTypes.TABLE)}

View File

@ -100,8 +100,7 @@
offset={5}
size="S"
animate={false}
on:open={() => selectedRows.set({ [row._id]: true })}
on:close={() => selectedRows.set({})}
on:mouseenter={() => ($hoveredRowId = row._id)}
/>
{:else}
{#each buttons as button}