GUI: fix visualizer option in menu

This commit is contained in:
tildearrow 2022-03-22 01:34:53 -05:00
parent 6dbc46d50e
commit 73d2f97274
1 changed files with 3 additions and 0 deletions

View File

@ -2011,6 +2011,9 @@ bool FurnaceGUI::loop() {
if (ImGui::BeginMenu("settings")) {
if (ImGui::MenuItem("visualizer",NULL,fancyPattern)) {
fancyPattern=!fancyPattern;
e->enableCommandStream(fancyPattern);
e->getCommandStream(cmdStream);
cmdStream.clear();
}
if (ImGui::MenuItem("reset layout")) {
showWarning("Are you sure you want to reset the workspace layout?",GUI_WARN_RESET_LAYOUT);