fix controls in newlayout
This commit is contained in:
parent
fd989b5b34
commit
3edaa39011
|
@ -52542,7 +52542,7 @@
|
||||||
fullwidth+=154;
|
fullwidth+=154;
|
||||||
}
|
}
|
||||||
for(var stayleft of staylefts){
|
for(var stayleft of staylefts){
|
||||||
if(game.layout!='default'&&game.layout!='newlayout'){
|
if(game.layout!='default'){
|
||||||
var current_offset=stayleft._offset;
|
var current_offset=stayleft._offset;
|
||||||
if(fullright){
|
if(fullright){
|
||||||
stayleft._offset=Math.ceil(-ui.arena.offsetWidth/2)+135;
|
stayleft._offset=Math.ceil(-ui.arena.offsetWidth/2)+135;
|
||||||
|
|
Loading…
Reference in New Issue