mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
parent
4ea281f854
commit
e7862fc0f0
2 changed files with 3 additions and 1 deletions
|
@ -590,6 +590,7 @@
|
|||
preloadAssets = index + 1 >= stackedAssets.length ? [] : [stackedAssets[index + 1]];
|
||||
}}
|
||||
onMouseEvent={({ isMouseOver }) => handleStackedAssetMouseEvent(isMouseOver, stackedAsset)}
|
||||
disableMouseOver
|
||||
readonly
|
||||
thumbnailSize={stackedAsset.id == asset.id ? 65 : 60}
|
||||
showStackedIcon={false}
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
export let readonly = false;
|
||||
export let showArchiveIcon = false;
|
||||
export let showStackedIcon = true;
|
||||
export let disableMouseOver = false;
|
||||
export let intersectionConfig: {
|
||||
root?: HTMLElement;
|
||||
bottom?: string;
|
||||
|
@ -207,7 +208,7 @@
|
|||
on:click={handleClick}
|
||||
role="link"
|
||||
>
|
||||
{#if mouseOver}
|
||||
{#if mouseOver && !disableMouseOver}
|
||||
<!-- lazy show the url on mouse over-->
|
||||
<a
|
||||
class="absolute z-30 {className} top-[41px]"
|
||||
|
|
Loading…
Reference in a new issue