fix(sw): limit the property popup count hover to the object list

User request (2026-10-21): in the all-selection property popup only the object
list on the right (columns 3-4: 원 1, 광선 1, 곡선 10, 호 1, 폴리선 10, 폴리선 2,
문자 1) keeps the #FF5C00 text Hover and the pointer. The summary entries of
columns 1-2 (도형 10, 직선 10, 문자 1 …) stay plain text: no Hover color, no
pointer, no click (none was added). The area is decided by the entry's column,
not by its text; entries without a column keep the Hover as before.
- SWHeaderPropertyPanel: internal data-count-summary on columns 1-2 (no Props
  or type change; public .d.ts byte-identical).
- sw.css: hover and pointer selectors skip [data-count-summary].
Count, order, layout (314 x 361) and editing are unchanged.
This commit is contained in:
shkim4 committed 2026-10-21 18:05:59 +09:00
1 parent f195c932f8
commit 17170d2be9
2 files changed
+6 -3

No files matched your search

@@ -426,7 +426,9 @@ export function SWHeaderPropertyPanel({
)
})}
{children}
{selection.kind === "all" && !!selection.counts?.length && <div className="hm-sw-property__counts" aria-label="선택된 객체 종류와 개수">{selection.counts.map(item => <span key={item.id} style={{ gridColumn: item.column, gridRow: item.row }}>{item.name} {item.count}</span>)}</div>}
{selection.kind === "all" && !!selection.counts?.length && <div className="hm-sw-property__counts" aria-label="선택된 객체 종류와 개수">{selection.counts.map(item => <span key={item.id} style={{ gridColumn: item.column, gridRow: item.row }}
// 2026-10-21 user request: columns 1-2 of the Figma layout are the summary (도형 · 직선 …), plain text without Hover.
data-count-summary={item.column !== undefined && item.column <= 2 ? "" : undefined}>{item.name} {item.count}</span>)}</div>}
</SWPopupFrame>
)
}