Input fixes

This commit is contained in:
Anuken
2018-12-30 11:41:06 -05:00
parent 745d8122f5
commit b91510efb3
7 changed files with 430 additions and 536 deletions

View File

@@ -23,7 +23,7 @@ public class BackgroundFragment extends Fragment{
Draw.shader();
boolean portrait = Core.graphics.getWidth() < Core.graphics.getHeight();
float logoscl = (int) Unit.dp.scl(1) * (portrait ? 5f / 7f : 1f);
float logoscl = (int) Unit.dp.scl(1) * (portrait ? 0.5f : 0.75f);
TextureRegion logo = Core.atlas.find("logotext");
float logow = logo.getWidth() * logoscl;
float logoh = logo.getHeight() * logoscl;