mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 02:51:24 +00:00
GUI: set size constraints for wave editor
This commit is contained in:
parent
9307a14a1d
commit
3b5370681a
1 changed files with 1 additions and 0 deletions
|
@ -1250,6 +1250,7 @@ void FurnaceGUI::drawWaveList() {
|
|||
void FurnaceGUI::drawWaveEdit() {
|
||||
if (!waveEditOpen) return;
|
||||
float wavePreview[256];
|
||||
ImGui::SetNextWindowSizeConstraints(ImVec2(450.0f*dpiScale,300.0f*dpiScale),ImVec2(scrW*dpiScale,scrH*dpiScale));
|
||||
if (ImGui::Begin("Wavetable Editor",&waveEditOpen,ImGuiWindowFlags_NoDocking)) {
|
||||
if (curWave<0 || curWave>=(int)e->song.wave.size()) {
|
||||
ImGui::Text("no wavetable selected");
|
||||
|
|
Loading…
Reference in a new issue