Bug fix
This commit is contained in:
Binary file not shown.
+1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user