mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
GUI: size constraints for effect list
This commit is contained in:
parent
ca1118a40f
commit
dc229078cc
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ void FurnaceGUI::drawEffectList() {
|
||||||
nextWindow=GUI_WINDOW_NOTHING;
|
nextWindow=GUI_WINDOW_NOTHING;
|
||||||
}
|
}
|
||||||
if (!effectListOpen) return;
|
if (!effectListOpen) return;
|
||||||
|
ImGui::SetNextWindowSizeConstraints(ImVec2(60.0f*dpiScale,20.0f*dpiScale),ImVec2(scrW*dpiScale,scrH*dpiScale));
|
||||||
if (ImGui::Begin("Effect List",&effectListOpen,globalWinFlags)) {
|
if (ImGui::Begin("Effect List",&effectListOpen,globalWinFlags)) {
|
||||||
ImGui::Text("Chip at cursor: %s",e->getSystemName(e->sysOfChan[cursor.xCoarse]));
|
ImGui::Text("Chip at cursor: %s",e->getSystemName(e->sysOfChan[cursor.xCoarse]));
|
||||||
if (ImGui::BeginTable("effectList",2)) {
|
if (ImGui::BeginTable("effectList",2)) {
|
||||||
|
|
Loading…
Reference in a new issue