Commit 218d3070f937546a93f2a9b9045598116c870f21
1 parent
c3b809e4
Exists in
master
Updated configuration fill_color to return default value if not set
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
lib/letter_avatar/avatar.rb
... | ... | @@ -68,7 +68,7 @@ module LetterAvatar |
68 | 68 | -pointsize 140 |
69 | 69 | -font #{FONT_FILENAME} |
70 | 70 | -weight #{LetterAvatar.weight} |
71 | - -fill '#{LetterAvatar.fill_color || FILL_COLOR}' | |
71 | + -fill '#{LetterAvatar.fill_color}' | |
72 | 72 | -gravity Center |
73 | 73 | -annotate #{LetterAvatar.annotate_position} '#{identity.letter}' |
74 | 74 | '#{filename}' | ... | ... |