This commit is contained in:
libccy 2017-04-15 17:58:11 +08:00
parent eb8089092e
commit ac23c0e9de
1 changed files with 7 additions and 1 deletions

View File

@ -360,7 +360,12 @@ game.import('mode',function(){
deckitem.name=i; deckitem.name=i;
} }
var deckContainer=ui.create.div('.list-container.deck',deckList); var deckContainer=ui.create.div('.list-container.deck',deckList);
if(ui.deckcontrol) ui.deckcontrol.show(); if(ui.deckcontrol){
ui.deckcontrol.show();
setTimeout(function(){
ui.deckcontrol.style.transition='';
},500);
}
}; };
ui.deckcontrol=ui.create.system('卡组管理',function(){ ui.deckcontrol=ui.create.system('卡组管理',function(){
@ -387,6 +392,7 @@ game.import('mode',function(){
},true); },true);
if(lib.onfree){ if(lib.onfree){
ui.deckcontrol.style.transition='all 0.5s';
ui.deckcontrol.hide(); ui.deckcontrol.hide();
lib.onfree.push(createCardDialog); lib.onfree.push(createCardDialog);
} }