diff --git a/game/game.js b/game/game.js index 5a2e3ee1a..c25174642 100644 --- a/game/game.js +++ b/game/game.js @@ -506,8 +506,16 @@ } if(lib.config.cardshape=='oblong'&&(lib.config.layout=='phone'||lib.config.layout=='mobile')){ ui.arena.classList.add('oblongcard'); + if(game.me.classList.contains('linked')){ + game.me.classList.remove('linked'); + game.me.classList.add('linked2'); + } } else{ + if(game.me.classList.contains('linked2')){ + game.me.classList.remove('linked2'); + game.me.classList.add('linked'); + } ui.arena.classList.remove('oblongcard'); } if(lib.config.textequip=='text'&&(lib.config.layout=='phone'||lib.config.layout=='mobile')){ @@ -529,9 +537,17 @@ game.saveConfig('cardshape',item); if(item=='oblong'&&(lib.config.layout=='phone'||lib.config.layout=='mobile')){ ui.arena.classList.add('oblongcard'); + if(game.me.classList.contains('linked')){ + game.me.classList.remove('linked'); + game.me.classList.add('linked2'); + } } else{ ui.arena.classList.remove('oblongcard'); + if(game.me.classList.contains('linked2')){ + game.me.classList.remove('linked2'); + game.me.classList.add('linked'); + } } } }, @@ -1235,6 +1251,7 @@ }, onclick:function(style){ for(var i=0;i.damage{ transform:scale(0.7) rotate(0); @@ -115,7 +126,7 @@ #arena:not(.chess) .player[data-position='0']:not(.minskin)>.avatar2, #arena:not(.chess) .player[data-position='0']:not(.minskin)>.equips{ width:120px; - height:120px; + height:100%; border-radius:0px !important; top:0; left:0;