From 8a4740b1bc81712d818b6d7520d40b65807fbd19 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 9 Dec 2024 21:02:09 -0800 Subject: [PATCH] comments --- VortexEngine/src/Menus/Menus.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/VortexEngine/src/Menus/Menus.cpp b/VortexEngine/src/Menus/Menus.cpp index d7acf2c593..1d6dd83242 100644 --- a/VortexEngine/src/Menus/Menus.cpp +++ b/VortexEngine/src/Menus/Menus.cpp @@ -123,9 +123,14 @@ bool Menus::runMenuSelection() if (g_pButtonL->onShortClick()) { // decrement selection and wrap around at num menus m_selection = m_selection ? m_selection - 1 : NUM_MENUS - 1; +#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 DEBUG_LOGF("Cyling backwards to ring menu %u", m_selection); // reset the open time so that it starts again m_openTime = Time::getCurtime();