diff --git a/src/Components/FileTree/FileTreeNode.vue b/src/Components/FileTree/FileTreeNode.vue index 3a34c2e..22d2002 100644 --- a/src/Components/FileTree/FileTreeNode.vue +++ b/src/Components/FileTree/FileTreeNode.vue @@ -54,6 +54,10 @@ const isSelected = computed(() => { return store.selectedPath === props.item.fullPathWithStore; }); +const nodeFileIsLoadedInEditor = computed(() => { + return appStore.selectedBinaryInfo.toString() === props.item.fullPathWithStore + || appStore.selectedKsyInfo.toString() === props.item.fullPathWithStore +}) @@ -62,7 +66,7 @@ const isSelected = computed(() => { @click="activateRow" @dblclick="doubleClick" @contextmenu="contextMenu"> -