mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 06:02:05 +00:00
Better fast handling of input during banner
This commit is contained in:
parent
f8ea9c0e40
commit
fd8cc1c78b
@ -1787,7 +1787,10 @@ int Screen::handleInputEvent(const InputEvent *event)
|
|||||||
|
|
||||||
if (NotificationRenderer::isOverlayBannerShowing()) {
|
if (NotificationRenderer::isOverlayBannerShowing()) {
|
||||||
NotificationRenderer::inEvent = event->inputEvent;
|
NotificationRenderer::inEvent = event->inputEvent;
|
||||||
setFrames();
|
static OverlayCallback overlays[] = {graphics::UIRenderer::drawNavigationBar,
|
||||||
|
NotificationRenderer::drawAlertBannerOverlay};
|
||||||
|
ui->setOverlays(overlays, sizeof(overlays) / sizeof(overlays[0]));
|
||||||
|
setFastFramerate(); // Draw ASAP
|
||||||
ui->update();
|
ui->update();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user