From 2a24b47dcadfde96155a3974cac8f611dafdf1f8 Mon Sep 17 00:00:00 2001 From: goynov Date: Fri, 10 Apr 2026 13:31:27 +0300 Subject: [PATCH] add more time before text hide --- src/lib/Dashboard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/Dashboard.js b/src/lib/Dashboard.js index bdc04ba..aaffaae 100644 --- a/src/lib/Dashboard.js +++ b/src/lib/Dashboard.js @@ -150,10 +150,11 @@ class DashBoard extends EventManager { o: text, a: { anchorY: -dh }, t: params.duration ? (params.duration * (1-params.startFrom||0)) : (dMax*77 / dashHeight), - f: ()=>{ + f: async ()=>{ params.textScrolledCallback?.(true); params.textScrolledCallback = null; if (params.hideOnFinish){ + await Utils.wait(5000); this.updateText('') }else{ engine.motionQueue.add({