From 4afabea837e38b15dfc62bb571c8b9bd387b8913 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 23 Jun 2026 17:35:29 +0200 Subject: [PATCH] Fix hidden panes: remove duplicate se-pane wrapper from PaneCP and PaneSubObjects AppShell already wraps each component in div.se-pane; the inner se-pane had display:none without .active, hiding all content. Also drop stale movement/part/line/measure bar fields (bar IDs are opaque). --- static/components/PaneCP.js | 2 +- static/components/PaneFO.js | 5 +---- static/components/PaneSubObjects.js | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/static/components/PaneCP.js b/static/components/PaneCP.js index 9381631..f8f27bb 100644 --- a/static/components/PaneCP.js +++ b/static/components/PaneCP.js @@ -41,7 +41,7 @@ export const PaneCP = { const model = store.scoreModel; const fp = store.focusPath; - return h('div', { class: 'se-pane' }, [ + return h('div', null, [ // Header h('div', { class: 'se-cp-header' }, [ h('span', { class: 'se-cp-title' }, diff --git a/static/components/PaneFO.js b/static/components/PaneFO.js index b969b94..69571b0 100644 --- a/static/components/PaneFO.js +++ b/static/components/PaneFO.js @@ -112,10 +112,7 @@ export const PaneFO = { children.push( h('h4', { style: 'margin:0 0 0.5rem' }, `Bar: ${node.id}`), h(ObjectExtended, { fields: [ - { key: 'movement', value: node.movement }, - { key: 'part', value: node.part }, - { key: 'line', value: node.line }, - { key: 'measure', value: node.measure }, + { key: 'id', value: node.id, editable: false }, ], onChange: null }), ); } else { diff --git a/static/components/PaneSubObjects.js b/static/components/PaneSubObjects.js index 099ce9a..e6ea600 100644 --- a/static/components/PaneSubObjects.js +++ b/static/components/PaneSubObjects.js @@ -46,9 +46,9 @@ export const PaneSubObjects = { return () => { const node = focused(); const items = subItems(node); - if (!items.length) return h('div', { class: 'se-pane' }, h('em', null, 'No sub-objects')); + if (!items.length) return h('div', null, h('em', null, 'No sub-objects')); - return h('div', { class: 'se-pane' }, [ + return h('div', null, [ h('ul', { class: 'se-object-list' }, items.map((item, idx) => h(ObjectShort, { key: idx,