Maintain clock frame when switching between Clock Faces

This commit is contained in:
Jason P
2025-06-24 14:46:40 -05:00
parent cea5cd171a
commit 7a285cf221
3 changed files with 9 additions and 2 deletions

View File

@@ -930,6 +930,11 @@ void Screen::setFrames(FrameFocus focus)
// If no module requested focus, will show the first frame instead
ui->switchToFrame(fsi.positions.focusedModule);
break;
case FOCUS_CLOCK:
// Whichever frame was marked by MeshModule::requestFocus(), if any
// If no module requested focus, will show the first frame instead
ui->switchToFrame(fsi.positions.clock);
break;
case FOCUS_PRESERVE:
// No more adjustment — force stay on same index