Fix issue #15: Dragonroll Frontend: Map Viewer adjustmentes
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { onMounted, onUnmounted, ref } from 'vue';
|
||||
import Note from './Note.vue';
|
||||
import { emitter } from '~/services/Emitter';
|
||||
import { SetActivePane } from '~/services/Content.js';
|
||||
|
||||
let noteData = ref([]);
|
||||
|
||||
@@ -34,6 +35,9 @@ function pushNote(note){
|
||||
}
|
||||
|
||||
function handlePushNote(note) {
|
||||
// A note opened from the sidebar or the search palette always comes to the front, even when
|
||||
// the content area is showing an anchored map.
|
||||
SetActivePane('notes');
|
||||
pushNote(note);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user