Merge pull request #256 from decaf-dev/fix-double-mouse-over

fix: stop double page preview
This commit is contained in:
DecafDev 2024-07-26 18:23:11 -06:00 committed by GitHub
commit f59ed39d0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 17 deletions

View file

@ -194,10 +194,6 @@
});
}
function handleTitleMouseOver(e: MouseEvent) {
handleCardMouseOver(e);
}
const creationString = formatAsBearTimeString(createdMillis);
function getDisplayContent(
@ -273,7 +269,6 @@
handleTitleClick();
}
}}
on:mouseover={handleTitleMouseOver}
>
<Stack spacing="xs">
{#if enableFileIcons}

View file

@ -176,10 +176,6 @@
handleCardContextMenu(e);
}
function handleTitleMouseOver(e: MouseEvent) {
handleCardMouseOver(e);
}
$: hasFooterContent =
tags != null || custom1 != null || custom2 != null || custom3 != null;
</script>
@ -247,7 +243,6 @@
handleTitleClick();
}
}}
on:mouseover={handleTitleMouseOver}
>
<Stack spacing="xs">
{#if enableFileIcons}

View file

@ -122,10 +122,6 @@
});
}
function handleTitleMouseOver(e: MouseEvent) {
handleItemMouseOver(e);
}
function handleItemMouseOver(e: MouseEvent) {
const targetEl = e.currentTarget as HTMLElement;
plugin.app.workspace.trigger("hover-link", {
@ -157,7 +153,7 @@
handleItemContextMenu(e);
}}
on:focus={() => {}}
on:mouseover
on:mouseover={handleItemMouseOver}
>
<Wrap
spacingX="lg"
@ -184,7 +180,6 @@
handleTitleClick();
}
}}
on:mouseover={handleTitleMouseOver}
>
<Stack spacing="xs">
{#if enableFileIcons}

View file

@ -84,6 +84,6 @@
"feed"
],
"configDir": ".vaultexplorer",
"pluginVersion": "1.33.0",
"pluginVersion": "1.33.1",
"logLevel": "trace"
}