hefty: bar: time widget

This commit is contained in:
end-4
2026-02-06 23:38:05 +01:00
parent 8b84537579
commit 09cdad1554
9 changed files with 177 additions and 18 deletions
@@ -95,4 +95,15 @@ Singleton {
}
}
}
function findParentWithProperty(obj, propertyName) {
let current = obj;
while (current) {
if (current.hasOwnProperty(propertyName)) {
return current;
}
current = current.parent;
}
return null;
}
}