From: bb3dan Date: Wed, 25 Sep 2013 00:08:35 +0000 (-0400) Subject: more bug fixes in dpat X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b91ad0b607f4daf8f74c6d466bd06f70d705cb47;p=SugarCubes.git more bug fixes in dpat --- diff --git a/DanUtil.pde b/DanUtil.pde index 6c2ddf1..d3f9ac0 100644 --- a/DanUtil.pde +++ b/DanUtil.pde @@ -17,8 +17,8 @@ public class Pick { public class _DhP extends BasicParameter { double dflt; _DhP (String label, double value) { super(label,value); dflt=value; } - void Set (double value) { super.updateValue(value); } - void reset () { super.updateValue(dflt); } + void Set (double value) { super.setValue(value); } + void reset () { super.setValue(dflt); } float Val () { return getValuef(); } boolean ZeroOrOne () { return Val()==0 || Val() == 1; } }