mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: letter avatars command line
This commit is contained in:
parent
f3ff435a62
commit
4dfb1de77e
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
class LetterAvatar
|
||||
|
||||
# BUMP UP if avatar algorithm changes
|
||||
VERSION = 4
|
||||
VERSION = 5
|
||||
|
||||
# CHANGE these values to support more pixel ratios
|
||||
FULLSIZE = 120 * 3
|
||||
|
@ -71,7 +71,7 @@ class LetterAvatar
|
|||
-size #{FULLSIZE}x#{FULLSIZE}
|
||||
xc:#{to_rgb(color)}
|
||||
-pointsize #{POINTSIZE}
|
||||
-fill 'rgba(255,255,255,0.8)'
|
||||
-fill '#FFFFFFCC'
|
||||
-font 'Helvetica'
|
||||
-gravity Center
|
||||
-annotate -0+26 '#{letter}'
|
||||
|
|
Loading…
Reference in a new issue