()
| 733 | } |
| 734 | |
| 735 | export function buildStripStems() { |
| 736 | const container = document.getElementById("appbarStripStems"); |
| 737 | if (!container) return; |
| 738 | container.innerHTML = ""; |
| 739 | for (const name of STEM_NAMES) { |
| 740 | const color = STEM_COLORS[name]; |
| 741 | const active = selectedStems.has(name); |
| 742 | const sq = document.createElement("div"); |
| 743 | sq.className = "strip-sq strip-sq-stem" + (active ? "" : " inactive"); |
| 744 | sq.dataset.stem = name; |
| 745 | if (active) sq.style.cssText = `background:${color}1a;border-color:${color}44;color:${color}`; |
| 746 | const srcSvg = document.querySelector(`.stem-choice[data-stem="${name}"] svg`); |
| 747 | if (srcSvg) sq.appendChild(srcSvg.cloneNode(true)); |
| 748 | container.appendChild(sq); |
| 749 | } |
| 750 | } |
| 751 | |
| 752 | function _applyLaneHeight(count) { |
| 753 | const wavePanel = document.querySelector(".daw-wave-panel"); |
no outgoing calls
no test coverage detected