mirror of
https://github.com/decaf-dev/obsidian-vault-explorer.git
synced 2026-07-22 10:10:31 +00:00
Merge pull request #256 from decaf-dev/fix-double-mouse-over
fix: stop double page preview
This commit is contained in:
commit
f59ed39d0b
4 changed files with 2 additions and 17 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -84,6 +84,6 @@
|
|||
"feed"
|
||||
],
|
||||
"configDir": ".vaultexplorer",
|
||||
"pluginVersion": "1.33.0",
|
||||
"pluginVersion": "1.33.1",
|
||||
"logLevel": "trace"
|
||||
}
|
||||
Loading…
Reference in a new issue