mirror of
https://github.com/moku-project/Moku.git
synced 2026-06-13 01:09:56 -05:00
fix: idle splash exit animation works
This commit is contained in:
@@ -177,8 +177,6 @@
|
|||||||
|
|
||||||
function resetIdleTimer() {
|
function resetIdleTimer() {
|
||||||
if (idleTimer) { clearTimeout(idleTimer); idleTimer = null }
|
if (idleTimer) { clearTimeout(idleTimer); idleTimer = null }
|
||||||
if (appState.idleSplash) appState.idleSplash = false
|
|
||||||
// read the setting live so changes take effect without a restart
|
|
||||||
// 0 means "Never" — skip the timer entirely
|
// 0 means "Never" — skip the timer entirely
|
||||||
const mins = settingsState.settings.idleTimeoutMin ?? 5
|
const mins = settingsState.settings.idleTimeoutMin ?? 5
|
||||||
if (mins === 0) return
|
if (mins === 0) return
|
||||||
|
|||||||
Reference in New Issue
Block a user