GUI: fix an annoyance in sample editor

This commit is contained in:
tildearrow 2023-10-28 02:41:34 -05:00
parent 1a448649b6
commit af8c926c8a

View file

@ -572,6 +572,7 @@ void FurnaceGUI::drawSampleEdit() {
sampleNoteCoarse=i; sampleNoteCoarse=i;
coarseChanged=true; coarseChanged=true;
} }
if (i==sampleNoteCoarse) ImGui::SetItemDefaultFocus();
} }
ImGui::EndCombo(); ImGui::EndCombo();
} else if (ImGui::IsItemHovered()) { } else if (ImGui::IsItemHovered()) {