v0.3.1: fixed some bugs relating to display scaling and very small screens

This commit is contained in:
Evan Debenham
2015-07-17 23:47:30 -04:00
committed by Evan Debenham
parent 36ccb6d48d
commit a1e9b10358
4 changed files with 6 additions and 13 deletions
@@ -36,8 +36,6 @@ public class WndSettings extends Window {
private static final int BTN_HEIGHT = 20;
private static final int GAP = 2;
private int setScale = PixelScene.defaultZoom;
public WndSettings() {
super();
@@ -77,13 +75,4 @@ public class WndSettings extends Window {
private String orientationText() {
return ShatteredPixelDungeon.landscape() ? TXT_SWITCH_PORT : TXT_SWITCH_LAND;
}
@Override
public void hide() {
super.hide();
if (setScale != PixelScene.defaultZoom) {
ShatteredPixelDungeon.scale(setScale);
ShatteredPixelDungeon.switchScene(TitleScene.class);
}
}
}