This commit is contained in:
libccy 2017-09-11 17:19:55 +08:00
parent 52a8d3e5a2
commit 132df053a1
1 changed files with 3 additions and 2 deletions

View File

@ -47,8 +47,9 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
"step 1" "step 1"
var bosslist=ui.create.div('#bosslist.hidden'); var bosslist=ui.create.div('#bosslist.hidden');
event.bosslist=bosslist; event.bosslist=bosslist;
bosslist.ontouchmove = ui.click.touchScroll; lib.setScroll(bosslist);
bosslist.style.WebkitOverflowScrolling='touch'; // bosslist.ontouchmove = ui.click.touchScroll;
// bosslist.style.WebkitOverflowScrolling='touch';
if(!lib.config.touchscreen&&lib.config.mousewheel){ if(!lib.config.touchscreen&&lib.config.mousewheel){
bosslist._scrollspeed=30; bosslist._scrollspeed=30;
bosslist._scrollnum=10; bosslist._scrollnum=10;