The code to detect whether to show or hide this entry was using
functions that weren't given the listener_state and hence returned
MISSING all of the time.
Signed-off-by: Keith Packard <keithp@keithp.com>
return hide(value(state, i));
}
+ public boolean hide(AltosState state, AltosListenerState listener_state, int i) {
+ return hide(state, i);
+ }
+
public double value (AltosState state, AltosListenerState listener_state, int i) {
return value(state, i);
}
v[i] = value(state, listener_state, i);
else
v[i] = AltosLib.MISSING;
- if (hide(state, i))
+ if (hide(state, listener_state, i))
hide = true;
}