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:
c0dev0id
2026-06-23 17:35:29 +02:00
parent f318b155cc
commit 4afabea837
3 changed files with 4 additions and 7 deletions

View File

@@ -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,