mfouquet / Color-Copier

Sketch Plugin to quickly copy color RGB, RGBA, HSB, HSL, HSLA or HEX values.
20 stars 5 forks source link

Check if selection has a fill or a border before trying to get the color #1

Closed bomberstudios closed 9 years ago

bomberstudios commented 9 years ago

This fixes an issue where the plugin fails to work for objects without a border.

You should probably do a bit of error checking, as the plugin currently tries to run with objects without a fill.

mfouquet commented 9 years ago

Thanks for the heads up - putting this in there now.