GUI: added GUI scale support for ability choice dialog (related to #12155, #969)

This commit is contained in:
Oleg Agafonov 2024-07-27 11:58:35 +04:00
parent 2bf6e3e3a2
commit 21ad11dbdc
6 changed files with 106 additions and 101 deletions

View file

@ -80,7 +80,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
private String basicTooltipText;
private static final Map<UUID, Integer> playerLives = new HashMap<>();
private Font defaultFont = null;
private final Font defaultFont;
private PriorityTimer timer;
@ -102,6 +102,7 @@ public class PlayerPanelExt extends javax.swing.JPanel {
this.cleanUp();
this.removeAll();
this.createAllComponents(guiScaleMod);
this.invalidate();
}
public void createAllComponents(float guiScaleMod) {