Fixed issues with pixelation on zooming out; removed extra side projects

This commit is contained in:
Anuken
2017-05-24 22:06:54 -04:00
parent 5deb1f562c
commit 01a9f493cc
3 changed files with 7 additions and 1 deletions

View File

@@ -349,6 +349,8 @@ public class UI extends SceneModule{
if(control.cameraScale < 4){
control.cameraScale = 4;
control.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
Draw.getSurface("pixel").setScale(control.cameraScale);
Draw.getSurface("shadow").setScale(control.cameraScale);
}
}).size(40);
@@ -356,6 +358,8 @@ public class UI extends SceneModule{
if(control.cameraScale > 3){
control.cameraScale = 3;
control.resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
Draw.getSurface("pixel").setScale(control.cameraScale);
Draw.getSurface("shadow").setScale(control.cameraScale);
}
}).size(40);