Posted on Aug 21, 2009 by
Helpful Lion
What steps will reproduce the problem? 1. setMax( 1 ), get 2 positions on x axis 2. setMax (0 ), crashes
What we do is:
if ( numPosDesired > 1 ) { xa.setMax ( numPosDesired - 1 ); } else { xa.setMax ( 1 ); }
So we only get an extra position in the infrequent case of a single position, but we'd like it to work consistently and as expected in all cases.
PS: we love this library and are using it as part of our product.
Status: New
Labels:
Type-Defect
Priority-Medium