Commit Graph

118 Commits

Author SHA1 Message Date
Jeff Nusz
4fb2646502 remove webpack loader syntax from js 2016-09-01 13:35:40 -07:00
Jeff Nusz
986494ac80 tidy up how optional CSS file is built 2016-09-01 12:50:55 -07:00
Jeff Nusz
dbd80251f3 Create external CSS file to work around CSP unsafe-inline 2016-08-30 15:48:51 -07:00
Jeff Nusz
f51e99beb0 remove unused rounded style from numberControlSlider 2016-08-30 13:40:16 -07:00
Jeff Nusz
867c5bd37e remove unused GUI.scss 2016-08-30 13:22:50 -07:00
Jeff Nusz
13ceb7af00 Merge branch 'destroy' of https://github.com/firsara/dat.gui into firsara-destroy
# Conflicts:
#	build/dat.gui.js
#	build/dat.gui.min.js
#	src/dat/gui/GUI.js
2016-08-18 17:18:37 -07:00
Jeff Nusz
ac8dfb62d2 Debounce onResize to prevent issues when rotating on tablet #91 2016-08-18 16:27:15 -07:00
Jeff Nusz
420e0458ad Merge branch 'master' of https://github.com/Ucodia/dat.gui into Ucodia-master
# Conflicts:
#	src/dat/gui/GUI.js
2016-08-18 15:46:04 -07:00
Jeff Nusz
b91772c26b fire onFinishChange when doing a revert() #103 2016-08-18 15:26:07 -07:00
Jeff Nusz
ca19030081 Allow updates to OptionController while listening. fix #101 2016-08-18 14:54:52 -07:00
Jeff Nusz
f53cfa5215 color controller calls onFinishChange callback 2016-08-18 14:32:03 -07:00
Jeff Nusz
66aa8fe153 fix slider modifier function to return correct controller
onFinishChange(), onChange(), and step() were returning the NumberBoxController instead of NumberSliderController
2016-08-18 14:18:15 -07:00
Jeff Nusz
f741e650c9 fix: Color selector layout issue #73 2016-08-18 12:32:24 -07:00
Jeff Nusz
922de64459 fix NumberBox not showing step() changes to slider 2016-08-17 16:28:11 -07:00
Jeff Nusz
55e97171cc fix requestAnimationFrame so listen() works 2016-08-17 16:17:09 -07:00
Jeff Nusz
e129e08b9d Merge branch 'dionysiusmarquis-dionysius-brach' into develop
# Conflicts:
#	src/dat/controllers/NumberControllerBox.js
#	src/dat/controllers/NumberControllerSlider.js
#	src/dat/controllers/factory.js
#	src/dat/gui/style.css
2016-08-17 16:16:15 -07:00
Jeff Nusz
8d1ce070d6 Merge branch 'dionysius-brach' of https://github.com/dionysiusmarquis/dat.gui into dionysiusmarquis-dionysius-brach 2016-08-17 15:05:22 -07:00
Jeff Nusz
8ae2c7cda9 Merge branch 'tkellen-display-none' into develop
# Conflicts:
#	src/dat/gui/GUI.js
2016-08-17 13:34:21 -07:00
Tyler Kellen
7274b38519 display none/block for hiding 2016-08-17 13:31:20 -07:00
Jeff Nusz
6322ce6cd0 Merge branch 'jaxry-master' into develop
# Conflicts:
#	src/dat/gui/GUI.js
2016-08-17 13:17:46 -07:00
Jeff Nusz
200cf7c0ac Merge branch 'master' of https://github.com/jaxry/dat.gui into jaxry-master
# Conflicts:
#	build/dat.gui.min.js
2016-08-17 12:51:57 -07:00
Jeff Nusz
907f316e9c fix slider CSS problem 2016-08-17 12:11:45 -07:00
Lionel Ringenbach
678d82e9ce Added updateDisplay on GUI object 2016-05-21 18:14:38 +02:00
Fabian Irsara
b0e7a8ec58 fix error when removing event 2015-12-01 22:47:31 +01:00
Fabian Irsara
cb004bf07e fix error when removing event 2015-12-01 22:41:54 +01:00
Fabian Irsara
afd4003835 destroy window events when calling destroy correctly 2015-12-01 22:36:31 +01:00
Tomas Korcak
4a91f8e484 Cosmetics 2015-08-15 03:28:21 +02:00
Tomas Korcak
e6df810a7b Fix eslint issues 2015-08-15 00:16:18 +02:00
Tomas Korcak
3deaee0d7a Fixed eslint issues 2015-08-14 23:43:37 +02:00
Tomas Korcak
963154824e Fixed eslint issues 2015-08-14 23:41:35 +02:00
Tomas Korcak
c85f591f93 Fixed eslint issues 2015-08-14 22:53:46 +02:00
Tomas Korcak
2a8011df34 Fixing dat.gui issues 2015-08-14 22:29:30 +02:00
Tomas Korcak
82ba3fab49 Fixed eslint issues 2015-08-14 19:54:03 +02:00
Tomas Korcak
075e499065 Using classses 2015-08-14 18:27:54 +02:00
Tomas Korcak
78e84d8c3b Using import (es6) 2015-08-14 17:28:30 +02:00
Tomas Korcak
f93d49b207 Merge remote-tracking branch 'genrich/patch-1' 2015-08-14 15:48:40 +02:00
Tomas Korcak
9847b3faa7 Merge remote-tracking branch 'kevinb7/master' 2015-08-14 15:42:50 +02:00
Tomas Korcak
b00f8f69f4 Using common.js + webpack 2015-08-14 15:38:59 +02:00
Doug
651cf00324 Merge pull request #51 from haxiomic/patch-1
Added requestAnimationFrame
2015-06-03 11:45:01 -07:00
Doug
96e8bc065a Merge pull request #52 from jsmouret/master
Fix mouse drag setting the value to NaN if the initial value is negative.
2015-06-03 11:43:38 -07:00
Kevin Barabash
14cca9bd26 Fixed an issue with colors based on arrays where the colored tab in the UI was black instead of matching the current color. 2014-10-16 20:18:42 -06:00
Ulysses Popple
86f43c0be5 Fix remove method to use splice instead of slice 2014-10-12 17:07:54 -04:00
Jean-Sebastien Mouret
d11136f2e0 Compute float implied step using the absolute of the input value.
Fix mouse drag setting the value to NaN if the initial value is negative.
2014-09-22 14:43:57 +08:00
George Corney
d3a74283d1 Added requestAnimationFrame
To fix the warning " 'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead. " in more recent versions of Chrome
2014-09-16 11:24:10 +01:00
Dennis Markgraf
b94ff75f35 Number Controllers Improvements
adds the ability to change the value in the Number box while the
controller is listening via .listen().

Prevents the slider bar from being wider than than 100%.
2014-07-19 14:15:35 +02:00
Dennis Markgraf
303cb10e07 fixes missing step argument
step argument was not provided in factory.js
2014-07-19 13:51:57 +02:00
Thibault D'Archivio
46de34be1e Fix the save options popup blocking mouse events on Firefox
The background wasn't set to display: none because the css transitions were set with webkit prefix only and so weren't triggered of Firefox.
2014-07-02 17:53:25 +02:00
genrich
7a708d7dfd Update factory.js
Step param was not used.
2014-06-27 15:19:25 +03:00
Jono Brandel
586c0607b5 Make onFinishChange after getValue 2014-06-08 17:58:47 -07:00
jaxry
6994bee8f0 Fixed the controller's 'option' method
When a controller's contents were modified with the 'option' method, the
newly created controller was appended to the bottom of the GUI instead
of replacing the position of the former controller. This bug has been
fixed.
2014-05-06 01:38:46 -06:00
Drew Lustro
4a0ed99a62 Fixed forEach iterator TypeError, made localStorage usage easier and behave closer to expectation. 2014-01-23 02:26:25 -05:00
Doug Fritz
ac83aa1b89 renamed GUI.css 2013-12-18 18:07:07 -08:00
Aaron Bell
7c904ee219 applied patch described in https://code.google.com/p/dat-gui/issues/detail?id=31 2013-12-18 20:51:13 -05:00
Jono Brandel
a9783fd72a Fixed issue 35 on Google Code 2013-12-18 15:56:16 -08:00
Jono Brandel
60e0c23cb1 merging github and google code 2013-12-18 15:27:02 -08:00
Jono Brandel
1019f6c4f9 merging github and google code 2013-12-18 14:24:50 -08:00
George Michael Brower
1bc50ffe31 console log 2011-11-07 22:19:20 -08:00
George Michael Brower
8918b82831 boolean fix 2011-11-07 22:17:40 -08:00
George Michael Brower
e3fa6b31c2 closing 2011-11-07 19:31:28 -08:00
George Michael Brower
d3b01eef71 minified css 2011-11-07 13:33:21 -08:00
George Michael Brower
b9adfd5b02 0.5 2011-11-07 13:29:37 -08:00
George Michael Brower
9c3a7d688a deleting the project 2011-11-07 13:29:03 -08:00
George Michael Brower
b531665963 0.5 2011-11-07 13:24:02 -08:00
Doug Fritz
d3f31f0973 moved dat to DAT/GUI 2011-04-18 16:19:17 -07:00
George Michael Brower
6c21734b0f min, max and step as methods for ControllerNumber 2011-04-18 15:40:26 -07:00
George Michael Brower
9959a24161 Number controllers not perfect, but dragging is infinitely more intuitive. 2011-04-18 14:57:32 -07:00
George Michael Brower
9c5cd9a919 More refactoring and began to fix .active issues on number slider 2011-04-18 14:13:15 -07:00
George Michael Brower
38e7d9b029 moved src into internal dat folder 2011-04-18 13:51:15 -07:00