mirror of
https://github.com/immich-app/immich.git
synced 2025-01-17 01:06:46 +01: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]];
|
preloadAssets = index + 1 >= stackedAssets.length ? [] : [stackedAssets[index + 1]];
|
||||||
}}
|
}}
|
||||||
onMouseEvent={({ isMouseOver }) => handleStackedAssetMouseEvent(isMouseOver, stackedAsset)}
|
onMouseEvent={({ isMouseOver }) => handleStackedAssetMouseEvent(isMouseOver, stackedAsset)}
|
||||||
|
disableMouseOver
|
||||||
readonly
|
readonly
|
||||||
thumbnailSize={stackedAsset.id == asset.id ? 65 : 60}
|
thumbnailSize={stackedAsset.id == asset.id ? 65 : 60}
|
||||||
showStackedIcon={false}
|
showStackedIcon={false}
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
export let readonly = false;
|
export let readonly = false;
|
||||||
export let showArchiveIcon = false;
|
export let showArchiveIcon = false;
|
||||||
export let showStackedIcon = true;
|
export let showStackedIcon = true;
|
||||||
|
export let disableMouseOver = false;
|
||||||
export let intersectionConfig: {
|
export let intersectionConfig: {
|
||||||
root?: HTMLElement;
|
root?: HTMLElement;
|
||||||
bottom?: string;
|
bottom?: string;
|
||||||
|
@ -207,7 +208,7 @@
|
||||||
on:click={handleClick}
|
on:click={handleClick}
|
||||||
role="link"
|
role="link"
|
||||||
>
|
>
|
||||||
{#if mouseOver}
|
{#if mouseOver && !disableMouseOver}
|
||||||
<!-- lazy show the url on mouse over-->
|
<!-- lazy show the url on mouse over-->
|
||||||
<a
|
<a
|
||||||
class="absolute z-30 {className} top-[41px]"
|
class="absolute z-30 {className} top-[41px]"
|
||||||
|
|
Loading…
Reference in a new issue