prepare for new sample map UI

This commit is contained in:
tildearrow 2023-04-10 19:49:14 -05:00
parent ad2af793ba
commit 8d4fa6e0cc
3 changed files with 11 additions and 4 deletions

View file

@ -4425,6 +4425,7 @@ void FurnaceGUI::drawInsEdit() {
ImGui::TableNextColumn();
ImGui::Text("%s",noteNames[60+i]);
ImGui::TableNextColumn();
// TODO: new style sample map
if (sampleMap.map<0 || sampleMap.map>=e->song.sampleLen) {
sName="-- empty --";
sampleMap.map=-1;