mirror of
https://github.com/esm7/obsidian-map-view.git
synced 2026-07-22 05:40:27 +00:00
This commit is contained in:
parent
c9edcc7124
commit
6bd754a002
2 changed files with 7 additions and 1 deletions
|
|
@ -837,6 +837,12 @@ And while both plugins are about maps and use Leaflet.js as their visual engine,
|
|||
|
||||
## Changelog
|
||||
|
||||
### Unreleased
|
||||
|
||||
- Fix to https://github.com/esm7/obsidian-map-view/issues/385.
|
||||
- Fix to GPX registration causing plugin crashes.
|
||||
- Fix to https://github.com/esm7/obsidian-map-view/issues/383.
|
||||
|
||||
### 6.1.2
|
||||
|
||||
- By a very common request, Map View on mobile can now auto-add the current location to notes (e.g. your daily notes). See [here](#auto-adding-location-to-notes) for more details.
|
||||
|
|
|
|||
|
|
@ -1242,7 +1242,7 @@ export default class MapViewPlugin extends Plugin {
|
|||
utils.goToEditorLocation(editor, cursorPos, false),
|
||||
);
|
||||
} else {
|
||||
const leaf = this.app.workspace.activeLeaf;
|
||||
const leaf = this.app.workspace.getLeaf(false);
|
||||
await leaf.openFile(file, { active: true });
|
||||
const editor = utils.getEditor(this.app);
|
||||
if (editor)
|
||||
|
|
|
|||
Loading…
Reference in a new issue