mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
GUI: add option to toggle visualizer in settings
This commit is contained in:
parent
966539bdf5
commit
fb68d2e5cb
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue