GUI: fix wave edit right pane going off bounds
This commit is contained in:
parent
c4121ccfd6
commit
c7d75f45f1
|
@ -569,6 +569,9 @@ void FurnaceGUI::drawWaveEdit() {
|
|||
if (waveGenVisible) {
|
||||
ImGui::TableNextColumn();
|
||||
|
||||
ImVec2 waveGenSize=ImGui::GetContentRegionAvail();
|
||||
waveGenSize.y=contentRegion.y;
|
||||
if (ImGui::BeginChild("WaveGenView",waveGenSize)) {
|
||||
if (ImGui::BeginTabBar("WaveGenOpt")) {
|
||||
if (ImGui::BeginTabItem("Shapes")) {
|
||||
waveGenFM=false;
|
||||
|
@ -1132,6 +1135,8 @@ void FurnaceGUI::drawWaveEdit() {
|
|||
ImGui::EndTabBar();
|
||||
}
|
||||
}
|
||||
ImGui::EndChild();
|
||||
}
|
||||
ImGui::EndTable();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue