@onjmin/dtm 0.1.42 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7886,6 +7886,7 @@ var mountDAW = (target, options = {}) => {
|
|
|
7886
7886
|
drawGrid(gridLineSteps);
|
|
7887
7887
|
for (const t of trackStates) {
|
|
7888
7888
|
if (hiddenTracks.has(t.config.id)) continue;
|
|
7889
|
+
if (isSolo && t.config.id !== activeTrackId) continue;
|
|
7889
7890
|
const [r, g, b] = t.config.color;
|
|
7890
7891
|
const a = t.config.id === activeTrackId ? 1 : 0.3;
|
|
7891
7892
|
drawNotes(t.core.getNotes(), [r, g, b, a]);
|
|
@@ -9220,6 +9221,7 @@ var mountDAW = (target, options = {}) => {
|
|
|
9220
9221
|
});
|
|
9221
9222
|
refs.soloCheckbox.addEventListener("change", () => {
|
|
9222
9223
|
isSolo = refs.soloCheckbox.checked;
|
|
9224
|
+
redrawAll();
|
|
9223
9225
|
});
|
|
9224
9226
|
refs.toolPen.addEventListener("click", () => setToolMode("pen"));
|
|
9225
9227
|
refs.toolSelect.addEventListener("click", () => setToolMode("select"));
|
package/dist/index.mjs
CHANGED
|
@@ -7775,6 +7775,7 @@ var mountDAW = (target, options = {}) => {
|
|
|
7775
7775
|
drawGrid(gridLineSteps);
|
|
7776
7776
|
for (const t of trackStates) {
|
|
7777
7777
|
if (hiddenTracks.has(t.config.id)) continue;
|
|
7778
|
+
if (isSolo && t.config.id !== activeTrackId) continue;
|
|
7778
7779
|
const [r, g, b] = t.config.color;
|
|
7779
7780
|
const a = t.config.id === activeTrackId ? 1 : 0.3;
|
|
7780
7781
|
drawNotes(t.core.getNotes(), [r, g, b, a]);
|
|
@@ -9109,6 +9110,7 @@ var mountDAW = (target, options = {}) => {
|
|
|
9109
9110
|
});
|
|
9110
9111
|
refs.soloCheckbox.addEventListener("change", () => {
|
|
9111
9112
|
isSolo = refs.soloCheckbox.checked;
|
|
9113
|
+
redrawAll();
|
|
9112
9114
|
});
|
|
9113
9115
|
refs.toolPen.addEventListener("click", () => setToolMode("pen"));
|
|
9114
9116
|
refs.toolSelect.addEventListener("click", () => setToolMode("select"));
|
package/package.json
CHANGED