From 84891cc4e5e8c4b050c8055e2d202aa643f99d7f Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 2 Feb 2022 04:33:53 -0500 Subject: [PATCH] GUI: turn loop position slider into a text field --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 332ffe82..a1cf6464 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -2055,7 +2055,7 @@ void FurnaceGUI::drawSampleEdit() { } if (doLoop) { ImGui::SameLine(); - if (ImGui::SliderInt("##LoopPosition",&sample->loopStart,0,sample->length-1)) { + if (ImGui::InputInt("##LoopPosition",&sample->loopStart,1,10)) { if (sample->loopStart<0 || sample->loopStart>=sample->length) { sample->loopStart=0; }