Function
cloneCellStyleState
(
unlocked: Set<string>,
mine: Set<string>,
currentCellId?: string | null
)
Source from the content-addressed store, hash-verified
| 164 | } |
| 165 | |
| 166 | function 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 | |
| 178 | function positionOverlayOptions(currentPosition: MapPosition) { |
| 179 | const simulator = currentPosition.mode === "simulator"; |
Tested by
no test coverage detected