Fix blank tiles on large windows and tilt (#522)

This commit is contained in:
Gustl22
2018-04-12 11:09:56 +02:00
committed by Emux
parent 7aac624ec7
commit d1f9a4e8f6
6 changed files with 76 additions and 8 deletions

View File

@@ -51,6 +51,16 @@ public class MapAdapter extends Map implements Map.UpdateListener {
return height;
}
@Override
public int getScreenWidth() {
return Gdx.graphics.getDisplayMode().width;
}
@Override
public int getScreenHeight() {
return Gdx.graphics.getDisplayMode().height;
}
private final Runnable mRedrawCb = new Runnable() {
@Override
public void run() {