allow rates down to 1Hz

This commit is contained in:
tildearrow 2022-08-15 22:40:04 -05:00
parent 474dfa2587
commit 5fe661e9a3
2 changed files with 4 additions and 4 deletions

View file

@ -195,7 +195,7 @@ void FurnaceGUI::drawSongInfo() {
float setHz=tempoView?e->curSubSong->hz*2.5:e->curSubSong->hz;
if (ImGui::InputFloat("##Rate",&setHz,1.0f,1.0f,"%g")) { MARK_MODIFIED
if (tempoView) setHz/=2.5;
if (setHz<10) setHz=10;
if (setHz<1) setHz=1;
if (setHz>999) setHz=999;
e->setSongRate(setHz,setHz<52);
}