Merge pull request #309 from decaf-dev/dev

1.40.2
This commit is contained in:
DecafDev 2024-08-06 19:52:36 -06:00 committed by GitHub
commit 4e0d8f0fe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{
"id": "vault-explorer",
"name": "Vault Explorer",
"version": "1.40.1",
"version": "1.40.2",
"minAppVersion": "1.4.13",
"description": "Explore your vault in visual format",
"author": "DecafDev",

View file

@ -1,6 +1,6 @@
{
"name": "obsidian-vault-explorer",
"version": "1.40.1",
"version": "1.40.2",
"description": "Explore your vault in visual format",
"main": "main.js",
"scripts": {

View file

@ -99,8 +99,6 @@
});
}
$: console.log(tags);
$: tagsClassName = `vault-explorer-list-item__tags ${isSmallScreenSize ? "vault-explorer-list-item__tags--screen-size-sm" : ""}`;
$: titleClassName = `vault-explorer-list-item__title ${isSmallScreenSize ? "vault-explorer-list-item__title--screen-size-sm" : ""}`;
</script>

View file

@ -47,8 +47,12 @@ const openToTheRight = (plugin: VaultExplorerPlugin, filePath: string) => {
};
const openInNewTab = (plugin: VaultExplorerPlugin, filePath: string) => {
plugin.app.workspace.openLinkText("", filePath, "tab", {
plugin.app.workspace.getLeaf().setViewState({
type: "markdown",
active: false,
state: {
file: filePath,
},
});
};

View file

@ -133,5 +133,6 @@
"1.38.0": "1.4.13",
"1.39.0": "1.4.13",
"1.40.0": "1.4.13",
"1.40.1": "1.4.13"
"1.40.1": "1.4.13",
"1.40.2": "1.4.13"
}