Commit 1998a251 authored by wildfirecode's avatar wildfirecode

1

parent d0ad19e2
...@@ -127,18 +127,7 @@ export class Element extends eui.Component { ...@@ -127,18 +127,7 @@ export class Element extends eui.Component {
this.toStandByAction(); this.toStandByAction();
} }
if (mv.currentFrame == 391) { if (mv.currentFrame == 391) {
r(); r();
// const tex: egret.Texture = RES.getRes("ele20_png");
// const pic = new egret.Bitmap(tex);
// pic.anchorOffsetX = tex.textureWidth / 2;
// pic.anchorOffsetY = tex.textureHeight;
// pic.x = p[0];
// pic.y = p[1];
// this.stage.addChild(pic);
// egret.Tween.get(pic).set({ scaleX: 0, scaleY: 0 }).to({ scaleX: 1.1, scaleY: 1.1 }, 300).wait(1000).call(()=>{
// pic.parent.removeChild(pic);
// });
} }
}; };
this._mv.addEventListener(egret.Event.ENTER_FRAME, cb, this); this._mv.addEventListener(egret.Event.ENTER_FRAME, cb, this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment