mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Make it easier to show a scaled version of the mobile dev app
This commit is contained in:
@@ -21,6 +21,9 @@ public class Utils {
|
||||
public static final int DEV_SCREEN_WIDTH = (int)BASE_WIDTH, DEV_SCREEN_HEIGHT = (int)BASE_HEIGHT;
|
||||
//private static final float ppcX = 169f / AVG_FINGER_SIZE_CM, ppcY = 237f / AVG_FINGER_SIZE_CM;
|
||||
//public static final int DEV_SCREEN_WIDTH = 400, DEV_SCREEN_HEIGHT = 600;
|
||||
//private static final float scaleX = 1.4f, scaleY = 1.5f;
|
||||
//private static final float ppcX = Gdx.graphics.getPpcX() * scaleX, ppcY = Gdx.graphics.getPpcY() * scaleY;
|
||||
//public static final int DEV_SCREEN_WIDTH = (int)(BASE_WIDTH * scaleX), DEV_SCREEN_HEIGHT = (int)(BASE_HEIGHT * scaleY);
|
||||
|
||||
//round to nearest int to reduce floating point display issues
|
||||
//reduce if either would take up too large a percentage of the screen to prevent layouts not working
|
||||
|
||||
Reference in New Issue
Block a user