More color fixes
This commit is contained in:
parent
86c2de3e68
commit
b7a5854a0b
@ -4,7 +4,7 @@ from sugar.canvas import Colors
|
|||||||
|
|
||||||
def _parse_string(color_string):
|
def _parse_string(color_string):
|
||||||
if color_string == 'white':
|
if color_string == 'white':
|
||||||
return ['#4f4f4f', 'white']
|
return ['white', '#4f4f4f']
|
||||||
|
|
||||||
splitted = color_string.split(',')
|
splitted = color_string.split(',')
|
||||||
if len(splitted) == 2:
|
if len(splitted) == 2:
|
||||||
@ -30,5 +30,5 @@ class IconColor:
|
|||||||
return self._fill
|
return self._fill
|
||||||
|
|
||||||
def to_string(self):
|
def to_string(self):
|
||||||
return '%s,%s' % (self._fill, self._stroke)
|
return '%s,%s' % (self._stroke, self._fill)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user