add more time before text hide
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user