We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd12242 commit 7e8356fCopy full SHA for 7e8356f
src/main/java/club/bytecode/the/jda/gui/JDAWindow.java
@@ -153,7 +153,10 @@ public void restorePosition(Point pos) {
153
154
@Override
155
public Dimension getPersistentSize() {
156
- return unmaximizedSize;
+ if (JDA.viewer.isMaximized)
157
+ return unmaximizedSize;
158
+ else
159
+ return smallUnmaxSize;
160
}
161
162
src/main/java/club/bytecode/the/jda/settings/Settings.java
@@ -77,6 +77,8 @@ public static void saveGUI() {
77
FileOutputStream out = new FileOutputStream(JDA.settingsFile);
78
out.write(settings.toString().getBytes("UTF-8"));
79
out.close();
80
+
81
+ System.out.println("Saved all settings successfully");
82
} catch (Exception e) {
83
e.printStackTrace();
84
0 commit comments