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