mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-13 22:32:27 +00:00
Fix
This commit is contained in:
@@ -1503,6 +1503,7 @@ int Screen::handleInputEvent(const InputEvent *event)
|
||||
menuHandler::handleMenuSwitch(dispdev);
|
||||
return 0;
|
||||
}
|
||||
// UP/DOWN in message screen scrolls through message threads
|
||||
if (ui->getUiState()->currentFrame == framesetInfo.positions.textMessage) {
|
||||
|
||||
if (event->inputEvent == INPUT_BROKER_UP) {
|
||||
|
||||
@@ -653,7 +653,6 @@ void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16
|
||||
}
|
||||
}
|
||||
} else if (!manualScrolling) {
|
||||
// Only reset when autoscroll is disabled AND user isn't manually scrolling
|
||||
scrollY = 0;
|
||||
}
|
||||
#else
|
||||
|
||||
@@ -62,9 +62,6 @@ void clearMessageCache();
|
||||
void scrollUp();
|
||||
void scrollDown();
|
||||
|
||||
// Determines if a line is a header line
|
||||
bool isHeader(const std::string &line);
|
||||
|
||||
} // namespace MessageRenderer
|
||||
} // namespace graphics
|
||||
#endif
|
||||
Reference in New Issue
Block a user