From 2cebd752368fa89b3a2e10cee0f09be3a5538464 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 6 Oct 2022 15:38:08 -0500 Subject: [PATCH] GUI: loop range buttons crs inc/dec should be 16 IT IS HARD TO FIT A DESCRIPTION IN 50 CHARS --- src/gui/sampleEdit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/sampleEdit.cpp b/src/gui/sampleEdit.cpp index 2c58a99ee..aa3c4cb3b 100644 --- a/src/gui/sampleEdit.cpp +++ b/src/gui/sampleEdit.cpp @@ -151,7 +151,7 @@ void FurnaceGUI::drawSampleEdit() { ImGui::Text("Loop Start"); ImGui::SameLine(); ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x); - if (ImGui::InputInt("##LoopStartPosition",&sample->loopStart,1,10)) { MARK_MODIFIED + if (ImGui::InputInt("##LoopStartPosition",&sample->loopStart,1,16)) { MARK_MODIFIED if (sample->loopStart<0) { sample->loopStart=0; } @@ -173,7 +173,7 @@ void FurnaceGUI::drawSampleEdit() { ImGui::Text("Loop End"); ImGui::SameLine(); ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x); - if (ImGui::InputInt("##LoopEndPosition",&sample->loopEnd,1,10)) { MARK_MODIFIED + if (ImGui::InputInt("##LoopEndPosition",&sample->loopEnd,1,16)) { MARK_MODIFIED if (sample->loopEndloopStart) { sample->loopEnd=sample->loopStart; } @@ -734,7 +734,7 @@ void FurnaceGUI::drawSampleEdit() { ImGui::Text("Loop Start"); ImGui::SameLine(); ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x); - if (ImGui::InputInt("##LoopStartPosition",&sample->loopStart,1,10)) { MARK_MODIFIED + if (ImGui::InputInt("##LoopStartPosition",&sample->loopStart,1,16)) { MARK_MODIFIED if (sample->loopStart<0) { sample->loopStart=0; } @@ -756,7 +756,7 @@ void FurnaceGUI::drawSampleEdit() { ImGui::Text("Loop End"); ImGui::SameLine(); ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x); - if (ImGui::InputInt("##LoopEndPosition",&sample->loopEnd,1,10)) { MARK_MODIFIED + if (ImGui::InputInt("##LoopEndPosition",&sample->loopEnd,1,16)) { MARK_MODIFIED if (sample->loopEndloopStart) { sample->loopEnd=sample->loopStart; }