GUI, game: fixed wrong player panels size on reconnect

This commit is contained in:
Oleg Agafonov 2024-08-12 20:58:41 +04:00
parent 7811bcf4c1
commit 4d89fcd72d
4 changed files with 44 additions and 32 deletions

View file

@ -992,6 +992,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
}// </editor-fold>//GEN-END:initComponents
public void sizePlayerPanel(boolean smallMode) {
// TODO: after few releases - delete small mode code, no needs anymore with gui scale, 2024-08-12
int extraForMe = this.isMe ? PANEL_HEIGHT_EXTRA_FOR_ME : 0;
if (smallMode) {
avatar.setVisible(false);