-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
On Haxe-ui openfl linux target
If you don't put a max value
The max is considered a 0.
Expected Behavior
If you don't put a max value
<number-stepper pos="30" step="10" width ="30%" />
The max should be considered an infinite
Current Behavior
If you don't put a max value
<number-stepper pos="30" step="10" width ="30%" />
The max is considered a 0.
It's the same problem with minimums
Possible Solution
I haven't checked in detail yet, maybe I'll try in the next few days.
But I suppose the problem is the null value
public var min:Null;
public var max:Null;
Maybe it is considered 0 in MathUtil.clamp
https://github.com/haxeui/haxeui-core/blob/35db371129336a9b592c12997db55b2e4cbd333b/haxe/ui/util/MathUtil.hx#L15-L27
guifes
Metadata
Metadata
Assignees
Labels
No labels