mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 18:42:40 +00:00
GUI: make chip manager visible in basic mode
fixes a problem in where "manage chips" would do nothing
This commit is contained in:
parent
38ae572621
commit
b253acf64b
1 changed files with 2 additions and 4 deletions
|
@ -4322,8 +4322,8 @@ bool FurnaceGUI::loop() {
|
||||||
if (ImGui::MenuItem("channels",BIND_FOR(GUI_ACTION_WINDOW_CHANNELS),channelsOpen)) channelsOpen=!channelsOpen;
|
if (ImGui::MenuItem("channels",BIND_FOR(GUI_ACTION_WINDOW_CHANNELS),channelsOpen)) channelsOpen=!channelsOpen;
|
||||||
}
|
}
|
||||||
if (ImGui::MenuItem("pattern manager",BIND_FOR(GUI_ACTION_WINDOW_PAT_MANAGER),patManagerOpen)) patManagerOpen=!patManagerOpen;
|
if (ImGui::MenuItem("pattern manager",BIND_FOR(GUI_ACTION_WINDOW_PAT_MANAGER),patManagerOpen)) patManagerOpen=!patManagerOpen;
|
||||||
if (!basicMode) {
|
|
||||||
if (ImGui::MenuItem("chip manager",BIND_FOR(GUI_ACTION_WINDOW_SYS_MANAGER),sysManagerOpen)) sysManagerOpen=!sysManagerOpen;
|
if (ImGui::MenuItem("chip manager",BIND_FOR(GUI_ACTION_WINDOW_SYS_MANAGER),sysManagerOpen)) sysManagerOpen=!sysManagerOpen;
|
||||||
|
if (!basicMode) {
|
||||||
if (ImGui::MenuItem("compatibility flags",BIND_FOR(GUI_ACTION_WINDOW_COMPAT_FLAGS),compatFlagsOpen)) compatFlagsOpen=!compatFlagsOpen;
|
if (ImGui::MenuItem("compatibility flags",BIND_FOR(GUI_ACTION_WINDOW_COMPAT_FLAGS),compatFlagsOpen)) compatFlagsOpen=!compatFlagsOpen;
|
||||||
}
|
}
|
||||||
if (ImGui::MenuItem("song comments",BIND_FOR(GUI_ACTION_WINDOW_NOTES),notesOpen)) notesOpen=!notesOpen;
|
if (ImGui::MenuItem("song comments",BIND_FOR(GUI_ACTION_WINDOW_NOTES),notesOpen)) notesOpen=!notesOpen;
|
||||||
|
@ -4563,9 +4563,7 @@ bool FurnaceGUI::loop() {
|
||||||
MEASURE(channels,drawChannels());
|
MEASURE(channels,drawChannels());
|
||||||
}
|
}
|
||||||
MEASURE(patManager,drawPatManager());
|
MEASURE(patManager,drawPatManager());
|
||||||
if (!basicMode) {
|
|
||||||
MEASURE(sysManager,drawSysManager());
|
MEASURE(sysManager,drawSysManager());
|
||||||
}
|
|
||||||
MEASURE(clock,drawClock());
|
MEASURE(clock,drawClock());
|
||||||
MEASURE(regView,drawRegView());
|
MEASURE(regView,drawRegView());
|
||||||
MEASURE(log,drawLog());
|
MEASURE(log,drawLog());
|
||||||
|
|
Loading…
Reference in a new issue