GUI: fix visual glitch when changing song length

This commit is contained in:
tildearrow 2022-03-29 01:36:45 -05:00
parent 92c1add075
commit f92eb9352d

View file

@ -124,6 +124,9 @@ void FurnaceGUI::drawSongInfo() {
if (ordLen<1) ordLen=1;
if (ordLen>127) ordLen=127;
e->song.ordersLen=ordLen;
if (e->getOrder()>=ordLen) {
e->setOrder(ordLen-1);
}
}
ImGui::TableNextRow();