barimo / dat-gui

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

How to control checkbox and text in dat.gui? #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Any click to the checkbox and text, next to the checkbox would result in 
just one action. For example, When I click the checkbox, it must show/Hide a 
cube in my application and when I click the text, next to the checkbox, it must 
zoom to the cube. However, when you click the text or the checkbox, one action 
is happened. I cannot add two different actions to the text and checkbox.

What is the expected output? What do you see instead?

I need to add an action to the checkbox and another different action to the 
text next to the checkbox.

What version of the product are you using? On what operating system?

I am using the following version:
https://raw.githubusercontent.com/dataarts/dat.gui/master/build/dat.gui.js

On windows 7, Chrome and Firefox.

Please provide any additional information below.

Please see the following link:
http://stackoverflow.com/questions/27852094/how-to-control-chekbox-in-dat-gui

Original issue reported on code.google.com by dshoj...@gmail.com on 12 Jan 2015 at 6:15