Revision: 2509 http://vexi.svn.sourceforge.net/vexi/?rev=2509&view=rev Author: clrg Date: 2007-10-21 17:58:42 -0700 (Sun, 21 Oct 2007)
Log Message: ----------- Comment out warning about interval / min / max settings as it's out when dealing with floating point maths Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/slider.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/slider.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/slider.t 2007-10-22 00:57:23 UTC (rev 2508) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/slider.t 2007-10-22 00:58:42 UTC (rev 2509) @@ -76,8 +76,8 @@ // we need all of the following to be set if (trapee.interval == null || trapee.min == null || trapee.max == null) return; // interval should be a factor of (max - min) - if ((trapee.max - trapee.min) % trapee.interval) - vexi.log.warn("min/max range is not divisible by interval"); + //if ((trapee.max - trapee.min) % trapee.interval) + // vexi.log.warn("min/max range is not divisible by interval"); // work out the number of steps trapee.numsteps = (trapee.max - trapee.min) / trapee.interval; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn