mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-02 10:02:12 +00:00
Compare commits
2 Commits
c6798dbcd5
...
88c9abb78e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88c9abb78e | ||
|
|
1729a2f734 |
@@ -644,16 +644,6 @@
|
|||||||
} else if (e.key === 'F5') {
|
} else if (e.key === 'F5') {
|
||||||
$routing = !$routing;
|
$routing = !$routing;
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
} else if (
|
|
||||||
e.key === 'ArrowRight' ||
|
|
||||||
e.key === 'ArrowDown' ||
|
|
||||||
e.key === 'ArrowLeft' ||
|
|
||||||
e.key === 'ArrowUp'
|
|
||||||
) {
|
|
||||||
if (!targetInput) {
|
|
||||||
// updateSelectionFromKey(e.key === 'ArrowRight' || e.key === 'ArrowDown', e.shiftKey);
|
|
||||||
e.preventDefault();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
on:dragover={(e) => e.preventDefault()}
|
on:dragover={(e) => e.preventDefault()}
|
||||||
|
|||||||
@@ -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