GUI: add option to toggle visualizer in settings

This commit is contained in:
tildearrow 2022-03-16 13:31:42 -05:00
parent 966539bdf5
commit fb68d2e5cb

View file

@ -6043,6 +6043,9 @@ bool FurnaceGUI::loop() {
ImGui::EndMenu(); ImGui::EndMenu();
} }
if (ImGui::BeginMenu("settings")) { if (ImGui::BeginMenu("settings")) {
if (ImGui::MenuItem("visualizer",NULL,fancyPattern)) {
fancyPattern=!fancyPattern;
}
if (ImGui::MenuItem("reset layout")) { if (ImGui::MenuItem("reset layout")) {
showWarning("Are you sure you want to reset the workspace layout?",GUI_WARN_RESET_LAYOUT); showWarning("Are you sure you want to reset the workspace layout?",GUI_WARN_RESET_LAYOUT);
} }