This commit is contained in:
libccy 2017-03-17 16:27:57 +08:00
parent 185361b4a6
commit 9b9784d098
6 changed files with 18 additions and 10 deletions

View File

@ -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:{

View File

@ -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',

View File

@ -23976,17 +23976,26 @@
}
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;
};

View File

@ -1,5 +1,5 @@
window.noname_update={
version:'1.9.10.8',
version:'1.9.11',
// update:'1.9.10.7',
changeLog:[
'bug修复',

View File

@ -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;

View File

@ -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{