X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=DanUtil.pde;h=d3f9ac05186e314f3a302f229ac90d65f736a7fa;hb=b91ad0b607f4daf8f74c6d466bd06f70d705cb47;hp=6c2ddf110c08d5d14bb637ee0a82b372127c25fd;hpb=c9e7c4564f51ca617bdadd37d70b0992d86cfc51;p=SugarCubes.git 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; } }