feat(panel): dual-mount topbar capsule, live multi-session HUD, and customizable topbar metrics (v1.4.3)

This commit is contained in:
fish
2026-11-11 17:31:42 +09:00
parent d60a3cde9b
commit e1da514515
56 changed files with 13389 additions and 3679 deletions
@@ -8,7 +8,7 @@ import { h, patchAttr, patchClasses, patchKeyedList, patchText } from '../../cor
export const SegmentedControl = defineComponent({
name: 'SegmentedControl',
setup({ getProps, emit }) {
setup({ getProps, setProps, emit }) {
const rootEl = h('div', {
className: 'segmented',
role: 'group',
@@ -27,6 +27,7 @@ export const SegmentedControl = defineComponent({
onClick: (e) => {
e.stopPropagation();
if (getProps().modelValue !== opt.value) {
setProps({ modelValue: opt.value });
emit('update:modelValue', opt.value);
}
},