Switch to FO pane on any label click in CP or SubObjects panes

This commit is contained in:
c0dev0id
2026-06-23 21:36:46 +02:00
parent 4c392927cf
commit c52b0bf9cf
3 changed files with 7 additions and 6 deletions

View File

@@ -31,11 +31,11 @@ export const AppShell = {
// Pane area
h('div', { class: 'se-pane-area' }, [
h('div', { class: ['se-pane', activePane.value === 'cp' ? 'active' : null] },
h(PaneCP, { store, onImportClick: openImport })),
h(PaneCP, { store, onImportClick: openImport, onFocusFO: () => { activePane.value = 'fo'; } })),
h('div', { class: ['se-pane', activePane.value === 'fo' ? 'active' : null] },
h(PaneFO, { store })),
h('div', { class: ['se-pane', activePane.value === 'sub' ? 'active' : null] },
h(PaneSubObjects, { store })),
h(PaneSubObjects, { store, onFocusFO: () => { activePane.value = 'fo'; } })),
]),
// Handle bar (tab switcher at bottom)