feat(foundry): refine map application controls

This commit is contained in:
Codex
2026-08-09 14:24:18 +03:00
parent 7025fd20b5
commit beb84f6de6
18 changed files with 633 additions and 186 deletions
-4
View File
@@ -3080,8 +3080,6 @@ export const CesiumMapRenderer = forwardRef<CesiumMapRendererHandle, {
const picked = viewer?.scene.pick(movement.position);
const pickedId = picked?.id;
if (pickedId instanceof Entity && pickedId.id && !String(pickedId.id).startsWith("grid/")) {
gridController?.setSelection(null);
onGridSectorSelectRef.current?.(null);
onSelectRef.current?.(pickedId.id);
return;
}
@@ -3091,8 +3089,6 @@ export const CesiumMapRenderer = forwardRef<CesiumMapRendererHandle, {
&& (pickedId as Partial<HGeoZonePickId>).kind === "nodedc-hgeozone"
&& typeof (pickedId as Partial<HGeoZonePickId>).entityId === "string"
) {
gridController?.setSelection(null);
onGridSectorSelectRef.current?.(null);
onSelectRef.current?.((pickedId as HGeoZonePickId).entityId);
return;
}