Skip to content

Commit

Permalink
release: 0.37.15
Browse files Browse the repository at this point in the history
  • Loading branch information
RyotaUshio committed Mar 10, 2024
1 parent e0f6239 commit f6f1751
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "pdf-plus",
"name": "PDF++",
"version": "0.37.14",
"version": "0.37.15",
"minAppVersion": "1.4.16",
"description": "The most Obsidian-native PDF annotation tool ever.",
"author": "Ryota Ushio",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-pdf-plus",
"version": "0.37.14",
"version": "0.37.15",
"description": "The most Obsidian-native PDF annotation tool ever.",
"scripts": {
"dev": "node esbuild.config.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/patchers/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const patchWorkspace = (plugin: PDFPlus) => {
if (plugin.settings.openLinkNextToExistingPDFTab || plugin.settings.paneTypeForFirstPDFLeaf) {
const pdfLeaf = lib.getPDFView()?.leaf;
if (pdfLeaf) {
if (plugin.settings.openLinkNextToExistingPDFTab && pdfLeaf.parentSplit instanceof WorkspaceSplit) {
if (plugin.settings.openLinkNextToExistingPDFTab && pdfLeaf.parentSplit) {
const newLeaf = app.workspace.createLeafInParent(pdfLeaf.parentSplit, -1);
return lib.workspace.openPDFLinkTextInLeaf(newLeaf, linktext, sourcePath, openViewState)
}
Expand Down

0 comments on commit f6f1751

Please sign in to comment.