mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Update README.md
This commit is contained in:
parent
a690a7fb92
commit
7dc8856978
@ -13,7 +13,14 @@ Note:
|
|||||||
* For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example:
|
* For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example:
|
||||||
`var myProps={color:#ffffff,colorbg:#000000};
|
`var myProps={color:#ffffff,colorbg:#000000};
|
||||||
datgui.addBgColor(myProps,color);`
|
datgui.addBgColor(myProps,color);`
|
||||||
* Changing the height of all ColorControllers can be done by changing the CSS .dg.c item.
|
* Changing the height of all ColorControllers can be done by adding the height field in the CSS .dg.c tag: `
|
||||||
|
.c {
|
||||||
|
float: left;
|
||||||
|
width: 60%;
|
||||||
|
height:125px; /*JLA*/
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
`
|
||||||
|
|
||||||
|
|
||||||
# dat.GUI
|
# dat.GUI
|
||||||
|
Loading…
Reference in New Issue
Block a user