From f1f6b6338082296f49e108747713c0a6631f3c07 Mon Sep 17 00:00:00 2001 From: HarukiToreda <116696711+HarukiToreda@users.noreply.github.com> Date: Thu, 10 Apr 2025 04:29:42 -0400 Subject: [PATCH] Pull back on scrolling change --- src/graphics/Screen.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 797f4d6a4..6307b67b8 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -1325,14 +1325,6 @@ void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16 static uint32_t lastTime = 0, scrollStartDelay = 0, pauseStart = 0; static bool waitingToReset = false, scrollStarted = false; - // === Reset scroll state when entering screen === - if (state->ticksSinceLastStateSwitch == 0) { - scrollY = 0; - scrollStartDelay = now; - lastTime = now; - waitingToReset = false; - scrollStarted = false; - } // === Smooth scrolling adjustment === // You can tweak this divisor to change how smooth it scrolls. // Lower = smoother, but can feel slow.