mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Some code tidying in forge-gui-mobile-dev.
This commit is contained in:
@@ -57,9 +57,9 @@ public class Main {
|
|||||||
config.resizable = false;
|
config.resizable = false;
|
||||||
config.width = desktopMode ? fullscreenWidth : screenWidth;
|
config.width = desktopMode ? fullscreenWidth : screenWidth;
|
||||||
config.height = desktopMode ? fullscreenHeight : screenHeight;
|
config.height = desktopMode ? fullscreenHeight : screenHeight;
|
||||||
config.fullscreen = desktopMode ? true : false;
|
config.fullscreen = desktopMode;
|
||||||
config.title = "Forge";
|
config.title = "Forge";
|
||||||
config.useHDPI = desktopMode ? true : false; // enable HiDPI on Mac OS
|
config.useHDPI = desktopMode; // 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