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