fix controls in newlayout

This commit is contained in:
Spmario233 2023-08-30 23:24:59 +08:00
parent fd989b5b34
commit 3edaa39011
1 changed files with 1 additions and 1 deletions

View File

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