Permalink
Browse files

Changing min and max values for TKAdjustableNumber

Default range used to be 1-10.  New range is 0-inf.
  • Loading branch information...
1 parent c1e289a commit 7647ec8273c599fa5c7c581e6e7d23274892011a @worrydream committed Sep 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 TangleKit/TangleKit.js
View
@@ -139,8 +139,8 @@ Tangle.classes.TKAdjustableNumber = {
this.tangle = tangle;
this.variable = variable;
- this.min = (options.min !== undefined) ? parseFloat(options.min) : 1;
- this.max = (options.max !== undefined) ? parseFloat(options.max) : 10;
+ this.min = (options.min !== undefined) ? parseFloat(options.min) : 0;
+ this.max = (options.max !== undefined) ? parseFloat(options.max) : 1e100;
this.step = (options.step !== undefined) ? parseFloat(options.step) : 1;
this.initializeHover();

0 comments on commit 7647ec8

Please sign in to comment.