wang-edward / box

Digital audio workstation
1 stars 0 forks source link

timeline delete / add track #61

Open wang-edward opened 3 days ago

wang-edward commented 3 days ago

see te::Edit::deleteTrack() and te::Edit::insertNewAudioTrack()

wang-edward commented 3 days ago

depends on a lot of stuff (delete clip, automatically move to next clip)

d - should delete a clip d - should delete a track when it has no clip

also depends on having undoManager working

                if (APP->tracks_[APP->current_track_]->base_.getClips().size() == 0)
                {
                      edit.deleteTrack() // or something
                }