mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 22:15:14 +00:00
GUI: lazily remove waveform from OPM ins editor
needs improvement
This commit is contained in:
parent
1df13af4af
commit
f09c30a383
1 changed files with 1 additions and 3 deletions
|
@ -4149,7 +4149,7 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
|||
ImGui::TableNextColumn();
|
||||
if (ins->type==DIV_INS_FM) {
|
||||
ImGui::Text(_("SSG-EG"));
|
||||
} else {
|
||||
} else if (ins->type!=DIV_INS_OPM) {
|
||||
ImGui::Text(_("Waveform"));
|
||||
}
|
||||
ImGui::TableNextColumn();
|
||||
|
@ -4275,8 +4275,6 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
|||
break;
|
||||
}
|
||||
case DIV_INS_OPM: {
|
||||
drawWaveform(0,true,ImVec2(waveWidth,waveHeight));
|
||||
|
||||
// params
|
||||
ImGui::Separator();
|
||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||
|
|
Loading…
Reference in a new issue