X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosuilib%2FAltosUIUnitsIndicator.java;h=d4dd18db0b2fead58625919270fdfc067de7ee6b;hp=63af57257c8c4dfcb94bf72940a1d835c3652b0b;hb=238e56e0f6ab2f623e0faf25298b38dc3a4aff74;hpb=97adfff4cfb67c17a96f3ff46606b4e439422b01 diff --git a/altosuilib/AltosUIUnitsIndicator.java b/altosuilib/AltosUIUnitsIndicator.java index 63af5725..d4dd18db 100644 --- a/altosuilib/AltosUIUnitsIndicator.java +++ b/altosuilib/AltosUIUnitsIndicator.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -82,6 +83,7 @@ public abstract class AltosUIUnitsIndicator extends AltosUIIndicator { public void show (AltosState state, AltosListenerState listener_state) { double[] v = new double[values.length]; + hide = false; for (int i = 0; i < values.length; i++) { if (state != null) v[i] = value(state, listener_state, i);