GoogleChromeLabs / ProjectVisBug

FireBug for designers › Edit any webpage, in any state https://a.nerdy.dev/gimme-visbug
https://visbug.web.app
Apache License 2.0
5.46k stars 286 forks source link

Make sure a valid color is always returned for z-index plugin #422

Closed Kilian closed 4 years ago

Kilian commented 4 years ago

The color function in the z-index plugin sometimes returns less than 6 characters, resulting in an invalid color. This pads the string with leading 0's if needed, making the color always valid.