colors default to the same for frame & fill
This commit is contained in:
parent
51243f3bbc
commit
bcfe99a6dd
1 changed files with 6 additions and 0 deletions
6
k2t.py
6
k2t.py
|
|
@ -239,6 +239,12 @@ class Entry:
|
|||
args.setdefault('line_style', DEFAULT_LINESTYLE)
|
||||
args.setdefault('dither_pattern', DEFAULT_DITHER)
|
||||
|
||||
# Cross-copy colors
|
||||
if 'fill_color' in args:
|
||||
args.setdefault('frame_color', args['fill_color'])
|
||||
if 'frame_color' in args:
|
||||
args.setdefault('fill_color', args['frame_color'])
|
||||
|
||||
return cls(members=members, **args)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue