Dont show hover cards when in multiselect mode

This commit is contained in:
Jackson Harper 2024-02-28 15:00:31 +08:00
parent 8dd71f12aa
commit a7688e0efc
2 changed files with 3 additions and 3 deletions

View file

@ -101,7 +101,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
}
}}
>
{!isTouchScreenDevice() && (
{!isTouchScreenDevice() && props.multiSelectMode == 'off' && (
<Box
ref={refs.setFloating}
style={{ ...floatingStyles, zIndex: 3 }}
@ -211,7 +211,7 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
position: 'absolute',
top: 0,
left: 0,
m: '10px',
m: '12px',
lineHeight: '1',
}}
>

View file

@ -102,7 +102,7 @@ export function LibraryListCard(props: LinkedItemCardProps): JSX.Element {
}
}}
>
{!isTouchScreenDevice() && (
{!isTouchScreenDevice() && props.multiSelectMode == 'off' && (
<Box
ref={refs.setFloating}
style={{ ...floatingStyles, zIndex: 3 }}