forked from RepoMirrors/kami-blue
made friends frame easy to drag around if it's minimized
This commit is contained in:
parent
c99a1a041a
commit
10f5d7e093
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue