Skip to content

Commit

Permalink
Add back adaptive delete
Browse files Browse the repository at this point in the history
  • Loading branch information
chmaha committed Feb 4, 2025
1 parent 59c89df commit cb7e821
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ReaClassical/ReaClassical_Delete With Ripple.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ function main()
-- else
-- Main_OnCommand(40310, 0) -- Set ripple-per-track
-- end
Main_OnCommand(40697, 0) -- Delete
local delete = NamedCommandLookup("_XENAKIOS_TSADEL")
Main_OnCommand(delete, 0) -- XENAKIOS_TSADEL
Main_OnCommand(40630, 0) -- Go to start of time selection
unlock_items()
local xfade_len = return_xfade_length()
Expand Down
3 changes: 2 additions & 1 deletion ReaClassical/ReaClassical_Insert with timestretching.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ function main()
Main_OnCommand(40034, 0) -- Item Grouping: Select all items in group(s)
Main_OnCommand(40630, 0) -- Go to start of time selection
Main_OnCommand(40309, 0) -- ripple off
Main_OnCommand(40697, 0) -- Delete
local delete = NamedCommandLookup("_XENAKIOS_TSADEL")
Main_OnCommand(delete, 0) -- XENAKIOS_TSADEL
Main_OnCommand(40289, 0) -- Item: Unselect all items

local state = GetToggleCommandState(1156)
Expand Down
3 changes: 2 additions & 1 deletion ReaClassical/ReaClassical_S-D Edit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ function main()
Main_OnCommand(40034, 0) -- Item Grouping: Select all items in group(s)
Main_OnCommand(40630, 0) -- Go to start of time selection
Main_OnCommand(40311, 0) -- Ripple-all mode
Main_OnCommand(40697, 0) -- Delete
local delete = NamedCommandLookup("_XENAKIOS_TSADEL")
Main_OnCommand(delete, 0) -- XENAKIOS_TSADEL
Main_OnCommand(42398, 0) -- Item: Paste items/tracks
mark_as_edit()
unlock_items()
Expand Down

0 comments on commit cb7e821

Please sign in to comment.