mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-02 10:02:12 +00:00
open collapsible if an item item is selected
This commit is contained in:
@@ -58,17 +58,11 @@
|
|||||||
|
|
||||||
const { treeFileView } = settings;
|
const { treeFileView } = settings;
|
||||||
|
|
||||||
// function openIfSelectedChild() {
|
$effect(() => {
|
||||||
// if (collapsible && $treeFileView && $selection.hasAnyChildren(item, false)) {
|
if (collapsible && $treeFileView && $selection.hasAnyChildren(item, false)) {
|
||||||
// collapsible.openNode();
|
collapsible.openNode();
|
||||||
// }
|
}
|
||||||
// }
|
});
|
||||||
|
|
||||||
// if ($selection) {
|
|
||||||
// openIfSelectedChild();
|
|
||||||
// }
|
|
||||||
|
|
||||||
// afterUpdate(openIfSelectedChild);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if node instanceof Map}
|
{#if node instanceof Map}
|
||||||
|
|||||||
Reference in New Issue
Block a user