MCPcopy
hub / github.com/stemdeckapp/stemdeck / refreshDots

Function refreshDots

static/js/catalog.js:705–711  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

703 input.value = folder.name;
704
705 const refreshDots = () => {
706 for (const dot of overlay.querySelectorAll(".folder-color-dot")) {
707 const active = dot.dataset.color === selectedColor;
708 dot.classList.toggle("active", active);
709 dot.setAttribute("aria-pressed", String(active));
710 }
711 };
712
713 overlay.addEventListener("mousedown", (e) => {
714 if (e.target === overlay) closeFolderEditor();

Callers 1

openFolderEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected