This commit is contained in:
parent
26cfdf3b41
commit
1f21096b73
|
@ -17342,6 +17342,7 @@
|
|||
if(_status.event.player!=game.me) return;
|
||||
if(this._transform&&this.parentNode&&this.parentNode.parentNode&&
|
||||
this.parentNode.parentNode.parentNode==ui.me&&
|
||||
(!_status.mousedown||_status.mouseleft)&&
|
||||
(!this.parentNode.parentNode.classList.contains('scrollh')||game.layout=='long2')){
|
||||
if(bool){
|
||||
this.style.transform=this._transform+' translateY(-20px)';
|
||||
|
@ -35799,6 +35800,9 @@
|
|||
if(!_status.mouseleft){
|
||||
_status.mouseleft=true;
|
||||
game.check();
|
||||
for(var i=0;i<ui.selected.cards.length;i++){
|
||||
ui.selected.cards[i].updateTransform(true);
|
||||
}
|
||||
}
|
||||
_status.dragstatuschanged=null;
|
||||
}
|
||||
|
@ -36010,6 +36014,9 @@
|
|||
else{
|
||||
var tmpflag=false;
|
||||
_status.mousedown=false;
|
||||
for(var i=0;i<ui.selected.cards.length;i++){
|
||||
ui.selected.cards[i].updateTransform(true);
|
||||
}
|
||||
if(_status.mousedragging&&_status.mouseleft){
|
||||
if(game.check()){
|
||||
if(ui.confirm){
|
||||
|
|
|
@ -20,7 +20,7 @@ window.noname_update={
|
|||
// 'mode/identity.js',
|
||||
// 'mode/chess.js',
|
||||
// 'mode/tafang.js',
|
||||
// 'mode/stone.js',
|
||||
'mode/stone.js',
|
||||
// 'theme/music/style.css',
|
||||
// 'theme/woodden/style.css',
|
||||
// 'layout/default/layout.css',
|
||||
|
|
|
@ -362,7 +362,7 @@ mode.stone={
|
|||
deckitem.name=i;
|
||||
}
|
||||
var deckContainer=ui.create.div('.list-container.deck',deckList);
|
||||
ui.deckcontrol.show();
|
||||
if(ui.deckcontrol) ui.deckcontrol.show();
|
||||
};
|
||||
|
||||
ui.deckcontrol=ui.create.system('卡组管理',function(){
|
||||
|
|
Loading…
Reference in New Issue