[LayaAir 1.0]发布微信后无法触发mouse_up事件

/** 初始化资源加载完成 */
private initF():void{
Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseHandler);
Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseHandler);
Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseHandler);
}
private mouseHandler(e:laya.events.Event):void
{
var touches: Array<any> = e.touches;
if (touches) {
for(let i=0;i<touches.length;i++){
let t =touches[i];
let nameIndex =e.touchId + "_" + i;
console.log(nameIndex+":"+e.type);
}
}
}

之能收到down和move!
已邀请:

Luren_yi

赞同来自:

抬起之后touches为空,不会进你写的逻辑

fftidus

赞同来自:

引擎版本:1.7.22beta

Aar0n

赞同来自:

直接发demo吧。

fftidus

赞同来自:

@laya_Aaron
 

fftidus

赞同来自:

有人碰到吗

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作