add more time before text hide

This commit is contained in:
2026-04-10 13:31:27 +03:00
parent b99aa2ec48
commit 2a24b47dca
+2 -1
View File
@@ -150,10 +150,11 @@ class DashBoard extends EventManager {
o: text, o: text,
a: { anchorY: -dh }, a: { anchorY: -dh },
t: params.duration ? (params.duration * (1-params.startFrom||0)) : (dMax*77 / dashHeight), t: params.duration ? (params.duration * (1-params.startFrom||0)) : (dMax*77 / dashHeight),
f: ()=>{ f: async ()=>{
params.textScrolledCallback?.(true); params.textScrolledCallback?.(true);
params.textScrolledCallback = null; params.textScrolledCallback = null;
if (params.hideOnFinish){ if (params.hideOnFinish){
await Utils.wait(5000);
this.updateText('') this.updateText('')
}else{ }else{
engine.motionQueue.add({ engine.motionQueue.add({