feat: implemented track level automation

This commit is contained in:
Xiaohan-Tian
2026-05-08 15:44:07 -07:00
parent 6e5d9466f4
commit 31e02b4149
24 changed files with 1931 additions and 36 deletions
+63 -1
View File
@@ -237,4 +237,66 @@
background: #d32f2f;
/* red */
color: #ffffff;
}
}
.pan-controls button.automation.active {
background: #d7eef9;
color: #101010;
}
.track-grid.automation-active {
position: relative;
}
.track-automation-lane {
position: absolute;
inset: 0;
z-index: 30;
cursor: default;
}
.track-automation-lane.pencil-cursor {
cursor: crosshair;
}
.track-automation-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.35);
}
.track-automation-svg {
position: absolute;
inset: 0;
}
.track-automation-line {
pointer-events: none;
}
.track-automation-point {
cursor: pointer;
}
.track-automation-point.selected {
filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
}
.track-automation-value {
font-size: 10px;
font-weight: 600;
font-variant-numeric: tabular-nums;
pointer-events: none;
user-select: none;
paint-order: stroke;
stroke: rgba(0, 0, 0, 0.7);
stroke-width: 2px;
stroke-linejoin: round;
}
.track-automation-selection-box {
position: absolute;
border: 1px solid rgba(135, 206, 250, 0.85);
background: rgba(135, 206, 250, 0.15);
pointer-events: none;
}