fix(ui): correct key visualizer QML syntax

This commit is contained in:
felixzsh
2026-08-28 09:54:26 -05:00
parent 71bc30a0ec
commit f3cb662498
+1 -1
View File
@@ -472,7 +472,7 @@ Item {
if (!root.paused) {
try {
var parsed = JSON.parse(stateFile.text())
if parsed && Array.isArray(parsed.keys) {
if (parsed && Array.isArray(parsed.keys)) {
var age = Math.floor(Date.now() / 1000) - (parsed.t || 0)
if (age <= Math.ceil(root.maxStateAgeMs / 1000)) next = parsed.keys
if ((parsed.t || 0) > 0) root.lastStateT = parsed.t