scroll
This commit is contained in:
parent
52a8d3e5a2
commit
132df053a1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue