forked from flow/vue3js-app-proposal-for-sdk-claude
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).
This commit is contained in:
parent
f318b155cc
commit
4afabea837
@ -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' },
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user