(e)
| 1212 | customMapSwatch.appendChild(thumb); |
| 1213 | |
| 1214 | const label = document.createElement('span'); |
| 1215 | label.className = 'preset-label'; |
| 1216 | label.textContent = entry.name; |
| 1217 | customMapSwatch.appendChild(label); |
| 1218 | |
| 1219 | customMapSwatch.title = entry.name; |
| 1220 | customMapRow.classList.remove('hidden'); |
| 1221 | } |
| 1222 | |
| 1223 | function _hideCustomMapThumb() { |
| 1224 | if (!customMapRow) return; |
| 1225 | customMapRow.classList.add('hidden'); |
| 1226 | if (customMapSwatch) customMapSwatch.innerHTML = ''; |
| 1227 | } |
| 1228 | |
| 1229 | /** Promote the kept-aside custom map back to the active map. No defaults reset. */ |
nothing calls this directly
no outgoing calls
no test coverage detected