Browse Source

Fixed a maximize problem with some configurations

master
JellySquid 3 years ago
parent
commit
7e442403ee

+ 1
- 1
build.gradle View File

@@ -22,7 +22,7 @@ subprojects {
apply plugin: 'maven'

group = 'com.skcraft'
version = '1.0.4.1'
version = '1.0.4.2'

sourceCompatibility = 1.8
targetCompatibility = 1.8

+ 2
- 2
launcher-aether/src/main/java/com/gildedgames/launcher/ui/LauncherFrame.java View File

@@ -143,8 +143,8 @@ public class LauncherFrame extends JFrame {
Rectangle bounds = gc.getBounds();
bounds.x += screenInsets.left - RESIZE_BORDER;
bounds.y += screenInsets.top - RESIZE_BORDER;
bounds.height -= screenInsets.bottom - (RESIZE_BORDER * 2);
bounds.width -= screenInsets.right - (RESIZE_BORDER * 2);
bounds.height -= screenInsets.bottom + screenInsets.top - (RESIZE_BORDER * 2);
bounds.width -= screenInsets.left + screenInsets.right - (RESIZE_BORDER * 2);

this.boundsBeforeMaximize = this.getBounds();


+ 1
- 1
launcher/src/main/resources/com/skcraft/launcher/launcher.properties View File

@@ -4,7 +4,7 @@
# Please see LICENSE.txt for license information.
#

version=1.0.4.1
version=1.0.4.2
agentName=Minecraft
offlinePlayerName=Player


Loading…
Cancel
Save