hiloteam / Hilo

A Cross-end HTML5 Game development solution
https://hiloteam.github.io/
MIT License
5.93k stars 863 forks source link

官网的下载版辛苦更新一下吧 #94

Closed showzyl closed 7 years ago

showzyl commented 7 years ago

hilo/util/drag

function onStop(e){ document.removeEventListener(Hilo.event.POINTER_END, onStop); stage && stage.off(Hilo.event.POINTER_MOVE, onMove); // that.fire("dragEnd", mouse); that.on(Hilo.event.POINTER_START, onStart); }

官网的下载版多了我注释的那一行 我看源码已经去掉了。

06wj commented 7 years ago

https://github.com/hiloteam/Hilo/blob/dev/src/util/drag.js#L93 源码木有去掉哦,官网的下载链接直接就是master分支的build文件,不会存在更新不及时的问题的。

showzyl commented 7 years ago

了解,stopDrag() 这个方法能用了,我关评论了。