mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
style(panel): remove redundant window control dots from capsule preview bar
This commit is contained in:
@@ -222,11 +222,6 @@ export const CapsuleBarWidget = defineComponent({
|
||||
]
|
||||
);
|
||||
|
||||
const titlebarRightMock = h('div', { className: 'preview-win-controls', 'aria-hidden': 'true' }, [
|
||||
h('span', { className: 'preview-win-dot' }),
|
||||
h('span', { className: 'preview-win-dot' }),
|
||||
h('span', { className: 'preview-win-dot' }),
|
||||
]);
|
||||
const composerSendMock = h(
|
||||
'span',
|
||||
{ className: 'preview-composer-send', 'aria-hidden': 'true', hidden: true },
|
||||
@@ -236,7 +231,7 @@ export const CapsuleBarWidget = defineComponent({
|
||||
const hostBarEl = h(
|
||||
'div',
|
||||
{ className: 'preview-capsule-bar', 'data-mount-mode': 'dual' },
|
||||
[titlebarLeftMock, composerLeftMock, capsuleCluster, titlebarRightMock, composerSendMock]
|
||||
[titlebarLeftMock, composerLeftMock, capsuleCluster, composerSendMock]
|
||||
);
|
||||
|
||||
const sidebarHintEl = h('div', {
|
||||
@@ -265,7 +260,6 @@ export const CapsuleBarWidget = defineComponent({
|
||||
});
|
||||
|
||||
patchAttr(titlebarLeftMock, 'hidden', isComposer);
|
||||
patchAttr(titlebarRightMock, 'hidden', isComposer);
|
||||
patchAttr(composerLeftMock, 'hidden', !isComposer);
|
||||
patchAttr(composerSendMock, 'hidden', !isComposer);
|
||||
patchAttr(sidebarHintEl, 'hidden', !isSidebar);
|
||||
|
||||
Reference in New Issue
Block a user