feat: Reset inactivity alarm timer for touch events (#1774)
This commit is contained in:
@@ -537,8 +537,11 @@ void checkBacklight()
|
||||
}
|
||||
|
||||
#if defined(HARDWARE_TOUCH)
|
||||
if (MainWindow::instance()->touchEventOccured() && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
|
||||
resetBacklightTimeout();
|
||||
if (MainWindow::instance()->touchEventOccured()) {
|
||||
inactivity.counter = 0;
|
||||
if (g_eeGeneral.backlightMode & e_backlight_mode_keys) {
|
||||
resetBacklightTimeout();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user