mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-22 20:45:11 +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();
|
ImGui::TableNextColumn();
|
||||||
if (ins->type==DIV_INS_FM) {
|
if (ins->type==DIV_INS_FM) {
|
||||||
ImGui::Text(_("SSG-EG"));
|
ImGui::Text(_("SSG-EG"));
|
||||||
} else {
|
} else if (ins->type!=DIV_INS_OPM) {
|
||||||
ImGui::Text(_("Waveform"));
|
ImGui::Text(_("Waveform"));
|
||||||
}
|
}
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextColumn();
|
||||||
|
@ -4275,8 +4275,6 @@ void FurnaceGUI::insTabFM(DivInstrument* ins) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DIV_INS_OPM: {
|
case DIV_INS_OPM: {
|
||||||
drawWaveform(0,true,ImVec2(waveWidth,waveHeight));
|
|
||||||
|
|
||||||
// params
|
// params
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
|
||||||
|
|
Loading…
Reference in a new issue