From da9701e8160e888e8709f0d585e3f75c679df1b8 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 2 Dec 2020 11:59:15 -0800 Subject: [PATCH] portrait use gcd.themeScale instead of logScale --- Portrait.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Portrait.qml b/Portrait.qml index a64d81a..ea8dbf0 100644 --- a/Portrait.qml +++ b/Portrait.qml @@ -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