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} resizable={false}
on:close on:close
on:open on:open
on:mouseenter
on:mouseleave
> >
<Menu> <Menu>
{#each buttons as button} {#each buttons as button}

View File

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

View File

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