MCPcopy Create free account
hub / github.com/CNCKitchen/stlTexturizer / handler

Function handler

js/main.js:1214–1226  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

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
1223function _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. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected