wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

HSlider works incorrectly in maximum/minimum positions with snapInterval property #245

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create new HSlider instance in mxml
2. set for example the following properties: 
<code:HSlider lockRegionsWhileDragging="true"
                  liveDragging="true"
                  thumbCount="2" 
                  minimum="0" 
                  maximum="30"
                  snapInterval="1"/>
3. slowly drag it to the left. 

it changes its left value without changing right

flexlib 2.4 Windows XP

by the way, try to do this

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
                xmlns:code="http://code.google.com/p/flexlib/">
    <code:HSlider liveDragging="true" 
                  lockRegionsWhileDragging="true"
                  thumbCount="2" 
                  width="100%" 
                  minimum="0" 
                  maximum="31"
                  snapInterval="1"/>
</mx:Application>

slider behaves awful near maximum and minimum values..

Original issue reported on code.google.com by sagittar...@gmail.com on 10 Sep 2009 at 3:42