This commit is contained in:
parent
bab929a282
commit
8d91a715f9
17
game/game.js
17
game/game.js
|
@ -21184,23 +21184,6 @@
|
|||
delete _status.clickingidentity;
|
||||
}
|
||||
},
|
||||
system:function(){
|
||||
if(lib.config.layout!='phone') return;
|
||||
_status.clicked=true;
|
||||
this.classList.add('shown');
|
||||
if(this._tempclicking){
|
||||
ui.arena.classList.add('phonetop');
|
||||
}
|
||||
else{
|
||||
this._tempclicking=true;
|
||||
var that=this;
|
||||
setTimeout(function(){
|
||||
that._tempclicking=false;
|
||||
},300);
|
||||
}
|
||||
if(this.nextSibling) this.nextSibling.classList.remove('shown');
|
||||
if(this.previousSibling) this.previousSibling.classList.remove('shown');
|
||||
},
|
||||
roundmenu:function(){
|
||||
switch(lib.config.round_menu_func){
|
||||
case 'system':
|
||||
|
|
|
@ -25,8 +25,7 @@
|
|||
}
|
||||
#system>div{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
height: 60px;
|
||||
}
|
||||
#system>div:first-child{
|
||||
left:5px;
|
||||
|
@ -44,13 +43,13 @@
|
|||
transition-duration: 0.3s;
|
||||
}
|
||||
#system>div:not(.shown){
|
||||
/*opacity: 0;*/
|
||||
/*width: 50%;
|
||||
min-width: 50%;*/
|
||||
transform: translateY(-80px);
|
||||
}
|
||||
#system>div.shown{
|
||||
width: auto;
|
||||
#system>#system1{
|
||||
width: 140px;
|
||||
}
|
||||
#system>#system2{
|
||||
width: calc(100% - 140px);
|
||||
}
|
||||
#system>div:not(.shown)>div{
|
||||
pointer-events: none;
|
||||
|
|
Loading…
Reference in New Issue