mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Only use HiDPI in forge-gui-mobile-dev when running in full screen mode.
This commit is contained in:
@@ -59,7 +59,7 @@ public class Main {
|
|||||||
config.height = desktopMode ? fullscreenHeight : screenHeight;
|
config.height = desktopMode ? fullscreenHeight : screenHeight;
|
||||||
config.fullscreen = desktopMode ? true : false;
|
config.fullscreen = desktopMode ? true : false;
|
||||||
config.title = "Forge";
|
config.title = "Forge";
|
||||||
//config.useHDPI = true; // enable HiDPI on Mac OS X (not tested)
|
config.useHDPI = desktopMode ? true : false; // enable HiDPI on Mac OS
|
||||||
|
|
||||||
new LwjglApplication(Forge.getApp(new LwjglClipboard(), new DesktopAdapter(switchOrientationFile),
|
new LwjglApplication(Forge.getApp(new LwjglClipboard(), new DesktopAdapter(switchOrientationFile),
|
||||||
desktopMode ? desktopModeAssetsDir : assetsDir), config);
|
desktopMode ? desktopModeAssetsDir : assetsDir), config);
|
||||||
|
|||||||
Reference in New Issue
Block a user