fix #2182
Changed behavior of FurnaceGUI::play - explicitly providing 0 will always play from the beginning of the pattern. Default argument of -1 will result in default behavior (play from beginning unless currently stepping).
This commit is contained in:
parent
f80dd764f3
commit
901bb110cc
3 changed files with 4 additions and 4 deletions
|
|
@ -1024,7 +1024,7 @@ void FurnaceGUI::drawEditControls() {
|
|||
ImGui::SameLine();
|
||||
if (ImGui::Button(ICON_FA_PLAY_CIRCLE "##PlayAgain")) {
|
||||
e->setRepeatPattern(false);
|
||||
play();
|
||||
play(0);
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip(_("Play from the beginning of this pattern"));
|
||||
|
|
@ -1032,7 +1032,7 @@ void FurnaceGUI::drawEditControls() {
|
|||
ImGui::SameLine();
|
||||
if (ImGui::Button(ICON_FA_STEP_FORWARD "##PlayRepeat")) {
|
||||
e->setRepeatPattern(true);
|
||||
play();
|
||||
play(0);
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip(_("Repeat from the beginning of this pattern"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue