feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR

Home Page:https://feathersui.com/learn/as3-starling/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slider and NumericStepper: setting maximum or minimum to Infinity results in NaN value

opened this issue · comments

Setting Slider minimum and maximum to -Infinity or Infinity after interaction causes he value set to NaN.

There is also same problem with this in NumericStepper.

Slider is behaving as expected. It impossible to implement a slider where the bounds are non-finite.

In NumericStepper, I guess it should be possible to allow non-finite bounds, so that's probably a bug.

Blender has some slider which shows values of the 3d object dragging it increment and decrement values
Yet you are right with Slider but NumericStepper seems implementable as I have tested it with Number.MAX_VALUE and MIN_VALUE
so there could be someway to fix default values of stepper like setting it to Big numbers (Infinity somehow).