mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-02 10:02:12 +00:00
progress
This commit is contained in:
@@ -58,15 +58,15 @@
|
||||
|
||||
const { treeFileView } = settings;
|
||||
|
||||
function openIfSelectedChild() {
|
||||
if (collapsible && treeFileView.value && $selection.hasAnyChildren(item, false)) {
|
||||
collapsible.openNode();
|
||||
}
|
||||
}
|
||||
// function openIfSelectedChild() {
|
||||
// if (collapsible && $treeFileView && $selection.hasAnyChildren(item, false)) {
|
||||
// collapsible.openNode();
|
||||
// }
|
||||
// }
|
||||
|
||||
if ($selection) {
|
||||
openIfSelectedChild();
|
||||
}
|
||||
// if ($selection) {
|
||||
// openIfSelectedChild();
|
||||
// }
|
||||
|
||||
// afterUpdate(openIfSelectedChild);
|
||||
</script>
|
||||
@@ -83,7 +83,7 @@
|
||||
<FileListNodeLabel {node} {item} {label} />
|
||||
{/snippet}
|
||||
{#snippet content()}
|
||||
<div class="ml-2">
|
||||
<div class="ml-4">
|
||||
{#key node}
|
||||
<FileListNodeContent {node} {item} />
|
||||
{/key}
|
||||
|
||||
Reference in New Issue
Block a user