sininger / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

".onFinishChange" doesn't work as intended for ".addColor" #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using your example from 
http://workshop.chromeexperiments.com/examples/gui/#4--Color-Controllers
2. using say gui.addColor(text, 
'color1').onFinishChange(function(value){alert(value)}); doesn't work.
3.

What is the expected output? What do you see instead?
I would say ".onFinishChange" doesn't work as intended for .addColor

What version of the product are you using? On what operating system?
dat-gui-1bc50ffe3187
tested on Win7 (Firefox, Chrome latest).

Please provide any additional information below.

Original issue reported on code.google.com by lchapli...@gmail.com on 2 Jan 2013 at 9:29

GoogleCodeExporter commented 9 years ago
use onChange instead of onFinishChange

Original comment by roguebl...@gmail.com on 14 Jan 2013 at 4:42