Fix for minimum client size

-The default size isn't set until sidebar is expanded allowing you to minimize client until game crashes.
This commit is contained in:
sethtroll
2017-07-17 18:31:25 -05:00
parent 4c66e90185
commit 889417a967

View File

@@ -63,6 +63,7 @@ public final class ClientUI extends JFrame
private void init() throws Exception
{
setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
setMinimumSize(new Dimension(PANEL_WIDTH, PANEL_HEIGHT));
addWindowListener(new WindowAdapter()
{