summaryrefslogtreecommitdiffstats
path: root/profile-widget/diveeventitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/diveeventitem.cpp')
-rw-r--r--profile-widget/diveeventitem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp
index b939c4ff8..bb9350a2f 100644
--- a/profile-widget/diveeventitem.cpp
+++ b/profile-widget/diveeventitem.cpp
@@ -71,7 +71,9 @@ void DiveEventItem::setupPixmap()
// on iOS devices we need to adjust for Device Pixel Ratio
int sz_bigger = metrics.sz_med * metrics.dpr;
#else
- int sz_bigger = metrics.sz_med;
+ // SUBSURFACE_MOBILE, seems a little big from the code,
+ // but looks fine on device
+ int sz_bigger = metrics.sz_big + metrics.sz_med;
#endif
#endif
int sz_pix = sz_bigger/2; // ex 20px