PitPik / colorPicker

Advanced javaScript color picker and color conversion / calculation (rgb, hsv, hsl, hex, cmyk, cmy, XYZ, Lab, alpha, WCAG 2.0, ...)
http://www.dematte.at/colorPicker/
MIT License
570 stars 136 forks source link

fix for pages with clickable SVG elements #45

Open danielcwilliams opened 8 years ago

danielcwilliams commented 8 years ago

thanks for the nice color picking widget.

I found and fixed a problem with pages that have SVG elements that receive mouse events.

a test case for this is available at: https://gist.github.com/danielcwilliams/1b17956ee9d4e27358f521b3e29c75a0