From fb68d2e5cb774ff5364ccf8c10b4b2ab331267e8 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 16 Mar 2022 13:31:42 -0500 Subject: [PATCH] GUI: add option to toggle visualizer in settings --- src/gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 21872cbc0..bfa2d523f 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -6043,6 +6043,9 @@ bool FurnaceGUI::loop() { ImGui::EndMenu(); } if (ImGui::BeginMenu("settings")) { + if (ImGui::MenuItem("visualizer",NULL,fancyPattern)) { + fancyPattern=!fancyPattern; + } if (ImGui::MenuItem("reset layout")) { showWarning("Are you sure you want to reset the workspace layout?",GUI_WARN_RESET_LAYOUT); }