Commit 3457e3f5 authored by kenan's avatar kenan

fix notouch height

parent 628eeb24
...@@ -142,7 +142,7 @@ class LocalGameHost extends GameHost { ...@@ -142,7 +142,7 @@ class LocalGameHost extends GameHost {
maxW = Math.max(w1, h1); maxW = Math.max(w1, h1);
maxH = Math.min(w1, h1); maxH = Math.min(w1, h1);
if(immerSiveMode){ if(immerSiveMode){
maxH -= config.getNotouchHeight(); maxW -= config.getNotouchHeight();
} }
Log.i("kk", "real=" + fullW + "x" + fullH + ",cur=" + actW + "x" + actH + ",use=" + maxW + "x" + maxH); Log.i("kk", "real=" + fullW + "x" + fullH + ",cur=" + actW + "x" + actH + ",use=" + maxW + "x" + maxH);
float sx, sy, scale; float sx, sy, scale;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment