v0.3.1: made display scaling a bit more strict on lower values.

This commit is contained in:
Evan Debenham
2015-07-02 03:09:13 -04:00
committed by Evan Debenham
parent e881dcf4f3
commit 23162fcc82
2 changed files with 4 additions and 3 deletions
@@ -79,7 +79,7 @@ public class PixelScene extends Scene {
}
defaultZoom = ShatteredPixelDungeon.scale();
if (defaultZoom < Game.density){
if (defaultZoom < Math.ceil( Game.density * 2 )){
defaultZoom = (int)Math.ceil( Game.density * 2.5 );
while ((
Game.width / defaultZoom < minWidth ||