Update README.md

Update readme to reflect actual behaviour of size parameter (see: https://github.com/PitPik/colorPicker/blob/master/colorPicker.js#L898).
pull/43/head
t-mw 8 years ago
parent 76cb72d3ad
commit c8f279c623

@ -74,7 +74,7 @@ var myColorPicker = new ColorPicker({
fps: 60, // the framerate colorPicker refreshes the display if no 'requestAnimationFrame'
delayOffset: 8, // pixels offset when shifting mouse up/down inside input fields before it starts acting as slider
CSSPrefix: 'cp-', // the standard prefix for (almost) all class declarations (HTML, CSS)
size: 0, // one of the 4 sizes: 0 = L (large), 1 = S, 2 = XS, 3 = XXS; resize to see what happens...
size: 0, // one of the 4 sizes: 0 = XXS, 1 = XS, 2 = S, 3 = L (large); resize to see what happens...
allMixDetails: true, // see Colors...
alphaBG: 'w' // initial 3rd layer bgColor (w = white, c = custom (customBG), b = black);
customBG: '#808080' // see Colors...

Loading…
Cancel
Save