projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
efd91fe
)
altosuilib: Show indicator when they switch from invalid back to valid
author
Keith Packard
<keithp@keithp.com>
Wed, 13 Jul 2016 04:06:23 +0000
(21:06 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 13 Jul 2016 04:06:23 +0000
(21:06 -0700)
The 'hide' value wasn't getting reset to 'false' each time the state
of the indicators was checked, so indicators would get hidden and then
never shown again.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosuilib/AltosUIUnitsIndicator.java
patch
|
blob
|
history
diff --git
a/altosuilib/AltosUIUnitsIndicator.java
b/altosuilib/AltosUIUnitsIndicator.java
index dc5cb11c6c6f8bb728c58491ca42969e95076267..d4dd18db0b2fead58625919270fdfc067de7ee6b 100644
(file)
--- a/
altosuilib/AltosUIUnitsIndicator.java
+++ b/
altosuilib/AltosUIUnitsIndicator.java
@@
-83,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);