This commit is contained in:
fgnm
2020-07-11 15:34:03 +02:00
parent b551acf847
commit a22186d5e4
3 changed files with 3 additions and 2 deletions
Binary file not shown.
@@ -116,6 +116,7 @@ public class SkinComposerMediator extends SimpleMediator<DownloadingDialog> {
try {
Runtime.getRuntime().exec(" java -jar " + jarPath);
} catch (IOException e) {
viewComponent.progressFailed();
e.printStackTrace();
}
}
@@ -74,8 +74,8 @@ public class UILivePreviewBoxMediator extends SimpleMediator<UILivePreviewBox> {
}
private void createPreviewWindow() {
int previewWidth = resolutionManager.getCurrentResolution().width;
int previewHeight = resolutionManager.getCurrentResolution().height;
int previewWidth = resolutionManager.getOriginalResolution().width;
int previewHeight = resolutionManager.getOriginalResolution().height;
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
config.setWindowedMode(previewWidth, previewHeight);