MCPcopy Create free account
hub / github.com/ImGoodBai/MapGoGoGo / cloneCellStyleState

Function cloneCellStyleState

frontend/src/maps.tsx:166–176  ·  view source on GitHub ↗
(
  unlocked: Set<string>,
  mine: Set<string>,
  currentCellId?: string | null
)

Source from the content-addressed store, hash-verified

164}
165
166function cloneCellStyleState(
167 unlocked: Set<string>,
168 mine: Set<string>,
169 currentCellId?: string | null
170): CellStyleState {
171 return {
172 currentCellId: currentCellId || null,
173 mine: new Set(mine),
174 unlocked: new Set(unlocked),
175 };
176}
177
178function positionOverlayOptions(currentPosition: MapPosition) {
179 const simulator = currentPosition.mode === "simulator";

Callers 1

AmapViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected