This commit is contained in:
tildearrow 2024-08-24 06:03:28 -05:00
parent 46e48e42ea
commit 332b449f0e
2 changed files with 3 additions and 3 deletions

View file

@ -2929,7 +2929,7 @@ class FurnaceGUI {
void doReplace(); void doReplace();
void doDrag(); void doDrag();
void editOptions(bool topMenu); void editOptions(bool topMenu);
DivSystem systemPicker(bool full_width); DivSystem systemPicker(bool fullWidth);
void noteInput(int num, int key, int vol=-1); void noteInput(int num, int key, int vol=-1);
void valueInput(int num, bool direct=false, int target=-1); void valueInput(int num, bool direct=false, int target=-1);
void orderInput(int num); void orderInput(int num);

View file

@ -23,7 +23,7 @@
#include "guiConst.h" #include "guiConst.h"
#include <imgui.h> #include <imgui.h>
DivSystem FurnaceGUI::systemPicker(bool full_width) { DivSystem FurnaceGUI::systemPicker(bool fullWidth) {
DivSystem ret=DIV_SYSTEM_NULL; DivSystem ret=DIV_SYSTEM_NULL;
DivSystem hoveredSys=DIV_SYSTEM_NULL; DivSystem hoveredSys=DIV_SYSTEM_NULL;
bool reissueSearch=false; bool reissueSearch=false;
@ -61,7 +61,7 @@ DivSystem FurnaceGUI::systemPicker(bool full_width) {
} }
} }
} }
if (ImGui::BeginTable("SysList",1,ImGuiTableFlags_ScrollY,ImVec2(full_width ? ImGui::GetContentRegionAvail().x : 500.0f*dpiScale,200.0f*dpiScale))) { if (ImGui::BeginTable("SysList",1,ImGuiTableFlags_ScrollY,ImVec2(fullWidth ? ImGui::GetContentRegionAvail().x : 500.0f*dpiScale,200.0f*dpiScale))) {
if (sysSearchQuery.empty()) { if (sysSearchQuery.empty()) {
// display chip list // display chip list
for (int j=0; curSysSection[j]; j++) { for (int j=0; curSysSection[j]; j++) {