Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Dec 10, 2024
1 parent 68a5463 commit 8a4740b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions VortexEngine/src/Menus/Menus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8a4740b

Please sign in to comment.