diff options
| author | Keith Packard <keithp@keithp.com> | 2014-06-11 20:36:49 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-06-11 20:43:54 -0700 |
| commit | bfc0c65c9f9ec9547d71016fc897ba35bdb414f8 (patch) | |
| tree | 36e97c779e9a79bac23ba06f33bd39c39206effb /altosuilib/AltosUIMap.java | |
| parent | 2182c49298e0862a60dea104450d5f74dbeaeeb2 (diff) | |
altosuilib: Handle font and units changes in maps and stats table
Add AltosFontListener and AltosUnitsListener bits as needed
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIMap.java')
| -rw-r--r-- | altosuilib/AltosUIMap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosuilib/AltosUIMap.java b/altosuilib/AltosUIMap.java index fa974d36..91087469 100644 --- a/altosuilib/AltosUIMap.java +++ b/altosuilib/AltosUIMap.java @@ -74,7 +74,7 @@ public class AltosUIMap extends JComponent implements AltosFlightDisplay, AltosU } public void units_changed(boolean imperial_units) { - repaint(); + view.set_units(); } JLabel zoom_label; |
