From 2fb08425237372cd9bd757b6facc3e9c495ccb07 Mon Sep 17 00:00:00 2001 From: htlee Date: Mon, 30 Mar 2026 12:56:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=97=B0=EA=B4=80=EC=84=B1=20=ED=8C=A8?= =?UTF-8?q?=EB=84=90=20historyData=20=EC=A1=B0=EA=B1=B4=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=20+=20=EC=9E=AC=EC=83=9D=20=EC=BB=A8=ED=8A=B8?= =?UTF-8?q?=EB=A1=A4=EB=9F=AC=20=EC=9C=84=20=EB=B0=B0=EC=B9=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - !historyData 조건 제거 — 어구 클릭 시 히스토리 자동 로딩되므로 항상 표시 - 히스토리 모드: bottom 80px (재생 컨트롤러 위), 비히스토리: bottom 20px - z-index 21 (재생 컨트롤러 20 위) - 오퍼레이셔널 폴리곤/이름 기반 하이라이트도 히스토리 조건 조정 Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/components/korea/FleetClusterLayer.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/korea/FleetClusterLayer.tsx b/frontend/src/components/korea/FleetClusterLayer.tsx index 86fc406..7f967e5 100644 --- a/frontend/src/components/korea/FleetClusterLayer.tsx +++ b/frontend/src/components/korea/FleetClusterLayer.tsx @@ -1043,7 +1043,7 @@ export function FleetClusterLayer({ ships, analysisMap: analysisMapProp, onShipS {/* 선택된 어구 그룹 — 이름 기반 하이라이트 폴리곤 */} - {selectedGearGroup && !historyData && enabledModels.has('identity') && (() => { + {selectedGearGroup && enabledModels.has('identity') && !historyData && (() => { const allGroups = groupPolygons ? [...groupPolygons.gearInZoneGroups, ...groupPolygons.gearOutZoneGroups] : []; @@ -1066,7 +1066,7 @@ export function FleetClusterLayer({ ships, analysisMap: analysisMapProp, onShipS })()} {/* 선택된 어구 그룹 — 모델별 오퍼레이셔널 폴리곤 오버레이 */} - {selectedGearGroup && !historyData && operationalPolygons.map(op => ( + {selectedGearGroup && operationalPolygons.map(op => ( { + {selectedGearGroup && (() => { const allGroups = groupPolygons ? [...groupPolygons.gearInZoneGroups, ...groupPolygons.gearOutZoneGroups] : []; const group = allGroups.find(g => g.groupKey === selectedGearGroup); - if (!group) return null; + const memberCount = group?.memberCount ?? 0; const defaultItems = correlationData.filter(c => c.isDefault); return (
@@ -1356,7 +1356,7 @@ export function FleetClusterLayer({ ships, analysisMap: analysisMapProp, onShipS
{selectedGearGroup} - 어구 {group.memberCount}개 + 어구 {memberCount}개