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 defined(HARDWARE_TOUCH)
|
||||||
if (MainWindow::instance()->touchEventOccured() && (g_eeGeneral.backlightMode & e_backlight_mode_keys)) {
|
if (MainWindow::instance()->touchEventOccured()) {
|
||||||
resetBacklightTimeout();
|
inactivity.counter = 0;
|
||||||
|
if (g_eeGeneral.backlightMode & e_backlight_mode_keys) {
|
||||||
|
resetBacklightTimeout();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user