From 7ca6a405c57065dfb5e01adde0449b2bb601ac8b Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 20 Aug 2024 20:50:06 -0700 Subject: [PATCH] fixed reverse iterate to purple --- VortexEngine/src/Menus/Menus.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/VortexEngine/src/Menus/Menus.cpp b/VortexEngine/src/Menus/Menus.cpp index 8a7f4bdc7f..aeeddc4e98 100644 --- a/VortexEngine/src/Menus/Menus.cpp +++ b/VortexEngine/src/Menus/Menus.cpp @@ -127,6 +127,14 @@ bool Menus::runMenuSelection() } else { --m_selection; } +#if ENABLE_EDITOR_CONNECTION == 1 + // Hide the editor connection menu because it opens automatically + // TODO: Create a better way to hide this menu color, this menu + // will automatically open when the device is plugged in + if (m_selection == MENU_EDITOR_CONNECTION) { + m_selection--; + } +#endif Leds::clearAll(); return true; }