Permalink
Browse files

append alpha for 3 digit hex colors, fix #4021

  • Loading branch information...
dessant
dessant committed Feb 22, 2016
1 parent 509f53f commit 1029f09366bff06d41b23c7e9b001aad29e49aba
Showing with 1 addition and 1 deletion.
  1. +1 −1 kivy/parser.py
View
@@ -87,7 +87,7 @@ def parse_color(text):
for i in range(0, len(res), 2)]
except ValueError:
return color_error('ColorParser: Invalid color for %r' % text)
if lres == 6:
if lres == 6 or lres == 3:
value.append(1.)
return value

0 comments on commit 1029f09

Please sign in to comment.