From 4c9e0873a34b78a333ea70330d5c79098a8f482b Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 13 Sep 2022 18:13:09 +0200 Subject: [PATCH] Fix low-resolution file changed overlay icons in activities Signed-off-by: Claudio Cambra --- src/gui/tray/ActivityItemContent.qml | 1 + theme/colored/add-bordered.svg | 42 +++++------------------ theme/colored/change-bordered.svg | 50 ++++++++-------------------- theme/colored/delete-bordered.svg | 44 ++++++------------------ theme/colored/talk-bordered.svg | 18 +++++----- 5 files changed, 41 insertions(+), 114 deletions(-) diff --git a/src/gui/tray/ActivityItemContent.qml b/src/gui/tray/ActivityItemContent.qml index da4b3f846..45971bbb1 100644 --- a/src/gui/tray/ActivityItemContent.qml +++ b/src/gui/tray/ActivityItemContent.qml @@ -107,6 +107,7 @@ RowLayout { source: Theme.darkMode ? model.darkIcon : model.lightIcon sourceSize.height: 64 sourceSize.width: 64 + mipmap: true // Addresses grainy downscale } } diff --git a/theme/colored/add-bordered.svg b/theme/colored/add-bordered.svg index 76b628467..12f15e2a3 100644 --- a/theme/colored/add-bordered.svg +++ b/theme/colored/add-bordered.svg @@ -1,43 +1,19 @@ - - + style="fill:#000001;fill-opacity:1;stroke:#ffffff;stroke-width:9.1374;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + fill="#000000" + d="M 36.72991,59.367374 H 27.580651 V 36.612805 H 4.7074996 V 27.510979 H 27.580651 V 4.7564116 H 36.72991 V 27.510979 l 22.873152,-0.127426 v 9.229252 H 36.72991 Z" + id="path2" + style="stroke-width:4.56276" /> diff --git a/theme/colored/change-bordered.svg b/theme/colored/change-bordered.svg index 01b4b71bb..f99e58de0 100644 --- a/theme/colored/change-bordered.svg +++ b/theme/colored/change-bordered.svg @@ -1,49 +1,25 @@ - - + style="stroke:#ffffff;stroke-width:8.25986;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="stroke:#ffffff;stroke-width:8.25986;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + d="m 31.965715,7.1667926 c -8.84631,0 -17.03596,4.7287694 -21.459115,12.3897884 l 8.045103,4.646171 c 2.771183,-4.798978 7.871646,-7.743618 13.41236,-7.743618 4.917094,0 9.486448,2.319245 12.389789,6.194895 l -6.194895,6.194894 H 56.743641 V 10.26424 L 50.93696,16.070921 C 46.274269,10.503776 39.364897,7.1655536 31.964063,7.1655536 Z" + id="path2" + style="stroke-width:4.12993" /> + d="M 7.1861368,35.043818 V 53.628501 L 13.001078,47.8053 c 4.609001,5.509327 11.634012,8.8587 18.964637,8.920649 8.920648,0.07545 16.99879,-4.675081 21.459114,-12.398049 l -8.045103,-4.646171 c -2.795962,4.836147 -7.848931,7.789047 -13.414011,7.743618 -4.873317,-0.0413 -9.518249,-2.36232 -12.389789,-6.194895 l 6.194894,-6.194894 z" + id="path4" + style="stroke-width:4.12993" /> diff --git a/theme/colored/delete-bordered.svg b/theme/colored/delete-bordered.svg index 4a6d969e9..de7d18a4f 100644 --- a/theme/colored/delete-bordered.svg +++ b/theme/colored/delete-bordered.svg @@ -1,43 +1,19 @@ - - + style="stroke:#ffffff;stroke-width:9.49924;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + d="M 8.3891995,15.207705 25.181495,32 8.3891995,48.79467 15.106118,55.510639 31.898413,38.716919 48.693083,55.510639 55.409052,48.79467 38.615332,32 55.409052,15.207705 48.693083,8.490787 31.898413,25.283082 15.106118,8.490787 Z" + fill="#000000" + id="path2" + style="stroke-width:4.74962" /> diff --git a/theme/colored/talk-bordered.svg b/theme/colored/talk-bordered.svg index 3a51606e9..a74a20cfd 100644 --- a/theme/colored/talk-bordered.svg +++ b/theme/colored/talk-bordered.svg @@ -1,21 +1,19 @@ - + style="stroke:#ffffff;stroke-width:7.43358;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal" /> + d="M 31.928199,5.9153513 A 26.014931,26.015303 0 0 0 5.9136395,31.931397 26.014931,26.015303 0 0 0 31.928199,57.946699 26.014931,26.015303 0 0 0 45.42312,54.140706 c 3.197332,1.270547 10.359067,5.039968 12.063587,3.411791 1.78116,-1.700989 -2.091104,-9.70677 -3.019446,-12.681689 A 26.014931,26.015303 0 0 0 57.94246,31.931173 26.014931,26.015303 0 0 0 31.928273,5.9162433 Z m 0.003,9.8907517 A 16.13087,16.131242 0 0 1 48.062041,31.937344 16.13087,16.131242 0 0 1 31.931172,48.06747 16.13087,16.131242 0 0 1 15.800302,31.937344 16.13087,16.131242 0 0 1 31.931172,15.806103 Z" + id="path886" + style="stroke-width:3.71679" /> -- 2.30.2