Console Render Bug caused by touch drag event
With starting the console the touch drag event is active without even touching the display.
This causes to render the console at any time it is displayed, which consumes alot of battery and heats up the device.
What the patch does is resetting the touch drag state to ensure it is only re-rendering the console when it it really needed.
diff --git a/gui/console.cpp b/gui/console.cpp
index 8a7a85e..ee3b5e5 100644
--- a/gui/console.cpp
+++ b/gui/console.cpp
@@ -274,6 +274,7 @@
{
// They're still touching, so re-render
Render();
+ mLastTouchY = -1;
return 2;
}
return 0;