Comments (9)
Just tested this and it works for me - thanks!
Original comment by [email protected]
on 7 Dec 2013 at 7:10
from dat-gui.
In patch form against the dat.gui repo this is:
diff --git a/src/dat/controllers/NumberController.js
b/src/dat/controllers/NumberController.js
index a589bf4..294e36c 100644
--- a/src/dat/controllers/NumberController.js
+++ b/src/dat/controllers/NumberController.js
@@ -122,6 +122,8 @@ define([
*/
step: function(v) {
this.__step = v;
+ this.__impliedStep = v;
+ this.__precision = numDecimals(v);
return this;
}
Original comment by [email protected]
on 7 Dec 2013 at 7:10
from dat-gui.
Completely forgot about this issue. Thanks for trying it. Are you going to
submit the patch?
Original comment by [email protected]
on 8 Dec 2013 at 12:12
from dat-gui.
Couldn't find guidance on how to submit, there aren't pull requests. Any ideas?
Original comment by [email protected]
on 8 Dec 2013 at 6:02
from dat-gui.
Yeah, sorry not quite sure what the process is. I suppose you could ask one of
the owners.
Original comment by [email protected]
on 9 Dec 2013 at 10:24
from dat-gui.
Got hold of one of the owners on twitter:
https://twitter.com/jonobr1/status/410213149543911424
jonobr1:
@airburst you are absolutely correct on that! My apologies. I'll get this
squared away in the next couple of days. Hold tight!
Original comment by [email protected]
on 10 Dec 2013 at 1:21
from dat-gui.
Good news, it's back on github at https://github.com/dataarts/dat.gui
jonobr1 (@jonobr1) tweeted at 7:01 PM on Wed, Dec 18, 2013:
@airburst sorry for the delay. Github and Google Code are now mirrors and all
issues and Pull Requests will be redirected to Github.
Original comment by [email protected]
on 19 Dec 2013 at 1:38
from dat-gui.
Pull request at https://github.com/dataarts/dat.gui/pull/31
Original comment by [email protected]
on 19 Dec 2013 at 1:55
from dat-gui.
Now accepted and applied to codebase. Won't appear in the main js file until
they build.
https://github.com/dataarts/dat.gui/commit/1cb6eca274eae229915f386b7798ea19cf2a0
217
Original comment by [email protected]
on 19 Dec 2013 at 2:21
from dat-gui.
Related Issues (20)
- change radius of THREE.SphereGeometry with slider HOT 2
- Add to Bower index
- extremely hard to get to hue field without it disappearing
- Patch for /.gitignore HOT 1
- changing bounds of variable dynamically HOT 1
- how to disable "h" shortcut?
- Fails when used in Chrome packaged app, since version 34
- Saving parameters with dat.gui seems broken HOT 2
- precision problem HOT 1
- localStorage support check borks in packaged Chrome app HOT 2
- Does not work with bootstrap 3 HOT 2
- Negative floating point range initialises incorrectly
- requestAnimationFrame
- Adding finer control to sliders
- Events not sent when creating a "number" controller with both min() and max() called explicitely
- step() has no effect on a "number" controller with min and max set
- error trying to remove a controller
- How to control checkbox and text in dat.gui?
- Dropdown menu still bugs out, rapidly switching choice selection HOT 1
- Changing presets appears to trigger component change functions incorrectly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dat-gui.