update
This commit is contained in:
@@ -35,12 +35,20 @@
|
||||
activeStickingType,
|
||||
activeTrackUnitType,
|
||||
selectingUnits,
|
||||
deselectingUnits,
|
||||
deselectingUnts,
|
||||
} = useAppStateStore();
|
||||
const { beats } = useBeatStore();
|
||||
const beat = computed(() => beats.value[props.beatIndex] ?? null);
|
||||
const track = computed(() => beat.value?.tracks.value[props.trackIndex] ?? null);
|
||||
const title = computed(() => track.value?.name);
|
||||
|
||||
function swapUp() {
|
||||
beat.value?.swapTracksByIndices(props.trackIndex + 1, props.trackIndex);
|
||||
}
|
||||
|
||||
function swapDown() {
|
||||
beat.value?.swapTracksByIndices(props.trackIndex, props.trackIndex - 1);
|
||||
}
|
||||
|
||||
|
||||
const trackUnits = computed(() => {
|
||||
const units = [];
|
||||
|
||||
Reference in New Issue
Block a user