From e3556c36cfd58b2ae739f40321b213f491e2e379 Mon Sep 17 00:00:00 2001 From: javalang Date: Tue, 26 Sep 2017 20:45:36 +0200 Subject: [PATCH] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e066dbc..1331b33 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,29 @@ # update * new NgColorController , fixed style of color-controller (no popup, fixed height:125px, huebar width from 15px to 20px) * new BgColorController for handling two colors (i.e. foreground-background color) +* new HSVColorController ![BgColorController](screen1.jpg) ![NgColorController](screen2.jpg) +![HSVColorController](screen3.jpg) ### Usage * addNgColor(properties,property) for NgColorController * addBgColor(properties,property) for BgColorController +* addHSVColor(properties,property) for HSVColorController Note: * For using BgColorController displaying a two colors, a second "property+bg" must be present. For Example: `var myProps={color:#ffffff,colorbg:#000000}; datgui.addBgColor(myProps,color);` -* Changing the height of all ColorControllers can be done by adding the height field in the CSS .dg.c tag: ` +* Changing the height for Ng/BgColorControllers can be done by adding the height field in the CSS .dg.c tag: ` .c { float: left; width: 60%; height:125px; /*JLA*/ position: relative; } -` +`. The height of HSVColorController is fixed internaly to 125px. # dat.GUI