Commit Graph

152 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
Jono Brandel
2729088df8 first commit 2011-08-10 12:38:16 -07:00
arahaya
0cd4229d4b added gui.reset() method 2011-06-21 11:29:53 +08:00
Seth
4f95775279 Fixed backbone bugs 2011-06-20 20:26:51 -07:00
Seth Samuel
f00d4cc957 Fixed bug if direct access returned 0 2011-06-16 14:43:32 -07:00
Seth Samuel
1fd9084574 Check for getter and setter methods of direct access fails 2011-06-16 12:24:23 -07:00
George Michael Brower
8174d3e69c Restored default step 2011-04-19 21:16:37 -07:00
George Michael Brower
dad826da29 Fixed a firefox bug 2011-04-19 20:00:12 -07:00
George Michael Brower
56e0facfc7 Removed references to Slider superclass for now 2011-04-19 14:51:45 -07:00
Jono Brandel
4bc98f5d97 abstracting slider to be a standalone gui. Slider->ControllerNumberSlider.js and needs to extend Slider and add dependency to build script. 2011-04-19 13:48:04 -07:00
George Michael Brower
5cf2b71ae2 Added width parameter to constructor 2011-04-19 13:05:30 -07:00
George Michael Brower
8fc7d35f83 Modified css so link styles won't be overridden' 2011-04-19 11:15:17 -07:00
George Michael Brower
3a4fb42b9d Changes to index. 2011-04-19 10:43:44 -07:00
George Michael Brower
d93adcf563 I hereby issue a worldwide challenge to find *anything* wrong with these Number Controllers. They may the best ever. 2011-04-18 19:47:05 -07:00
George Michael Brower
356a7caf5a finished recreating work that git so mercilessly overwrote. 2011-04-18 17:46:18 -07:00
George Michael Brower
904157f062 wtf? why did my GUI.js get overwritten... 2011-04-18 17:41:02 -07:00
George Michael Brower
eb9fbad6d9 Merge branch 'master' of github.com:jonobr1/gui-dat 2011-04-18 17:35:36 -07:00
George Michael Brower
320bdb2926 Pass only a single parameter to gui.add to automatically add all of its properties 2011-04-18 17:35:27 -07:00
Doug Fritz
fdb30586d0 merged GUI 2011-04-18 17:32:15 -07:00
Doug Fritz
944a4ab7d3 buildscript css 2011-04-18 17:31:10 -07:00
George Michael Brower
60d2a580e3 Oops, meant to be prepending that style sheet 2011-04-18 17:29:24 -07:00
Doug Fritz
d730f43f65 Merge branch 'master' of https://github.com/jonobr1/gui-dat 2011-04-18 17:27:36 -07:00
Doug Fritz
480abb17ca updated buildscript barnraiser 2011-04-18 17:27:33 -07:00
George Michael Brower
5c709ec018 Preparing for doug's build script to automatically append and inject the minified css 2011-04-18 17:24:43 -07:00
George Michael Brower
bfc6820597 Fixed a bug where typing the letter h in a string field would hide the gui 2011-04-18 17:18:52 -07:00
George Michael Brower
08eb75861c Fixed options method to make sure the initial value is actually selected 2011-04-18 17:10:05 -07:00
George Michael Brower
56088c5a02 Merge branch 'master' of github.com:jonobr1/gui-dat 2011-04-18 16:35:55 -07:00
George Michael Brower
9f383f6733 GUI panels open by default, no animation 2011-04-18 16:35:47 -07: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
George Michael Brower
df12193b83 Initial values for checkboxes in order 2011-04-18 12:15:51 -07:00
George Michael Brower
ece6c521f8 Removed redundant code. 2011-04-18 12:09:59 -07:00
George Michael Brower
92a13fd869 Changed tabs to two spaces. Happy? 2011-04-18 12:06:19 -07:00
George Michael Brower
561b4a1411 Moved everything to the DAT namespace, and officially renamed the project dat.gui :) 2011-04-18 12:01:45 -07:00
George Michael Brower
446da7ba01 default parameters 2011-04-18 11:34:10 -07:00