From fb932461c1882be0305890ac609c38bbf7a01125 Mon Sep 17 00:00:00 2001 From: Jason P Date: Fri, 5 Dec 2025 18:43:58 -0600 Subject: [PATCH] Correct up/down destinations on textMessage frame --- src/graphics/Screen.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 1e17402cb..9201b6660 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -1506,16 +1506,20 @@ int Screen::handleInputEvent(const InputEvent *event) // UP/DOWN in message screen scrolls through message threads if (ui->getUiState()->currentFrame == framesetInfo.positions.textMessage) { - if (messageStore.getMessages().empty()) { - cannedMessageModule->LaunchWithDestination(NODENUM_BROADCAST); - } else { - if (event->inputEvent == INPUT_BROKER_UP) { + if (event->inputEvent == INPUT_BROKER_UP) { + if (messageStore.getMessages().empty()) { + cannedMessageModule->LaunchWithDestination(NODENUM_BROADCAST); + } else { graphics::MessageRenderer::scrollUp(); setFastFramerate(); // match existing behavior return 0; } + } - if (event->inputEvent == INPUT_BROKER_DOWN) { + if (event->inputEvent == INPUT_BROKER_DOWN) { + if (messageStore.getMessages().empty()) { + cannedMessageModule->LaunchWithDestination(NODENUM_BROADCAST); + } else { graphics::MessageRenderer::scrollDown(); setFastFramerate(); return 0;