made friends frame easy to drag around if it's minimized

This commit is contained in:
Bella 2020-03-25 10:03:28 -04:00
parent c99a1a041a
commit 10f5d7e093
No known key found for this signature in database
GPG Key ID: 815562EA23BFE344
1 changed files with 2 additions and 0 deletions

View File

@ -281,6 +281,8 @@ public class KamiGUI extends GUI {
friends.setText("");
if (!finalFrame.isMinimized()) {
Friends.friends.getValue().forEach(friend -> friends.addLine(friend.getUsername()));
} else {
friends.setWidth(50);
}
});