portrait use gcd.themeScale instead of logScale

This commit is contained in:
Dan Ballard 2020-12-02 11:59:15 -08:00
parent 6207752cea
commit da9701e816
1 changed files with 2 additions and 3 deletions

View File

@ -13,9 +13,8 @@ Item {
property alias badgeColor: badge.color
property int size: Theme.contactPortraitSize
property real logscale: 4 * Math.log10(gcd.themeScale + 1)
property int baseWidth: size * logscale
height: size * logscale
property int baseWidth: size * gcd.themeScale
height: size * gcd.themeScale
property alias portraitBorderColor: mainImage.color
property alias portraitColor: imageInner.color