milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.69k stars 162 forks source link

Add #107 Feature Request "set loop to selection" #233

Closed caseyjoy closed 3 years ago

caseyjoy commented 3 years ago

Added a right click menu option to the sample editor that sets the loop to the selection range as requested in #107.

It sets the loop type to Forward if there's no other loop type, and uses the existing loop type if set (unless loop type is One shot and the selection start isn't at the very beginning, similar to dragging the start loop point).

right_click_menu loop_set_to_range