This commit is contained in:
parent
185361b4a6
commit
9b9784d098
|
@ -2495,8 +2495,8 @@ character.swd={
|
|||
filter:function(event,player){
|
||||
return event.source&&event.card&&event.card.name=='sha'&&event.source!=player;
|
||||
},
|
||||
logTarget:'source',
|
||||
content:function(){
|
||||
player.line(trigger.source,'green');
|
||||
trigger.source.draw();
|
||||
},
|
||||
ai:{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
window.noname_asset_list=[
|
||||
'1.9.10.8',
|
||||
'1.9.11',
|
||||
'image/background/huangtian_bg.jpg',
|
||||
'image/background/shengshi_bg.jpg',
|
||||
'image/background/taoyuan_bg.jpg',
|
||||
|
|
17
game/game.js
17
game/game.js
|
@ -23976,16 +23976,25 @@
|
|||
}
|
||||
popupContainer.appendChild(node);
|
||||
var rect=node.getBoundingClientRect();
|
||||
if(get.is.phoneLayout()&&rect.top*1.3+rect.height*1.3+20>ui.window.offsetHeight){
|
||||
node.style.top=(ui.window.offsetHeight-20-rect.height*1.3)/1.3+'px';
|
||||
}
|
||||
else if(node.classList.contains('visual')){
|
||||
if(node.classList.contains('visual')){
|
||||
node.style.top=(e.y-node.offsetHeight/2+30)+'px';
|
||||
for(var i=0;i<node.childElementCount;i++){
|
||||
if(node.childNodes[i].update){
|
||||
node.childNodes[i].update();
|
||||
}
|
||||
}
|
||||
if(node.childElementCount>9){
|
||||
node.style.overflow='scroll';
|
||||
}
|
||||
else{
|
||||
node.style.overflow='';
|
||||
}
|
||||
if(node.offsetTop<10){
|
||||
node.style.top='10px';
|
||||
}
|
||||
}
|
||||
else if(get.is.phoneLayout()&&rect.top*1.3+rect.height*1.3+20>ui.window.offsetHeight){
|
||||
node.style.top=(ui.window.offsetHeight-20-rect.height*1.3)/1.3+'px';
|
||||
}
|
||||
popupContainer.classList.remove('hidden');
|
||||
popupContainer.onclose=onclose;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
window.noname_update={
|
||||
version:'1.9.10.8',
|
||||
version:'1.9.11',
|
||||
// update:'1.9.10.7',
|
||||
changeLog:[
|
||||
'bug修复',
|
||||
|
|
|
@ -477,6 +477,8 @@
|
|||
.popup-container>.menu.visual{
|
||||
padding: 5px;
|
||||
max-width: 300px;
|
||||
max-height: 305px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.popup-container>.menu>div{
|
||||
padding-top:5px;
|
||||
|
|
|
@ -165,9 +165,6 @@
|
|||
transition-property: opacity,transform;
|
||||
transition-duration: 0.5s;
|
||||
pointer-events: auto;
|
||||
}
|
||||
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.avatar,
|
||||
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.equips{
|
||||
-webkit-clip-path: polygon(-10px 0, 130px 0, 130px 130px, -10px 130px);
|
||||
}
|
||||
#arena:not(.chess) .player[data-position='0']:not(.minskin)>.identity{
|
||||
|
|
Loading…
Reference in New Issue