mirror of https://github.com/kami-blue/client
The friends tab will now always have a minimum width, not just when minimized.
This commit is contained in:
parent
40c39209de
commit
8c8a0b753c
|
@ -280,10 +280,9 @@ public class KamiGUI extends GUI {
|
|||
Frame finalFrame = frame;
|
||||
friends.addTickListener(() -> {
|
||||
friends.setText("");
|
||||
friends.setWidth(50);
|
||||
if (!finalFrame.isMinimized()) {
|
||||
Friends.friends.getValue().forEach(friend -> friends.addLine(friend.getUsername()));
|
||||
} else {
|
||||
friends.setWidth(50);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue