diff options
author | silverwind <me@silverwind.io> | 2021-05-22 03:18:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 21:18:43 -0400 |
commit | be745be0a4f3feab01f896f1c0f17164bb30234b (patch) | |
tree | 9f5c9d00fe326258654b5345a4e1ac42924adece /models | |
parent | 44d76ff7cb41a3998dec9a0675ca16ff31ecff5e (diff) | |
download | gitea-be745be0a4f3feab01f896f1c0f17164bb30234b.tar.gz gitea-be745be0a4f3feab01f896f1c0f17164bb30234b.zip |
Double the avatar size factor (#15941)
* Double the avatar size factor
This results on finer Avatar rendering on Hi-DPI display.
* fix test
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models')
-rw-r--r-- | models/avatar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/avatar.go b/models/avatar.go index 4f02fe5089..b4c078f8cf 100644 --- a/models/avatar.go +++ b/models/avatar.go @@ -44,7 +44,7 @@ const DefaultAvatarSize = -1 const DefaultAvatarPixelSize = 28 // AvatarRenderedSizeFactor is the factor by which the default size is increased for finer rendering -const AvatarRenderedSizeFactor = 2 +const AvatarRenderedSizeFactor = 4 // HashEmail hashes email address to MD5 string. // https://en.gravatar.com/site/implement/hash/ |