From 37a1845bc40ab5f71666adbe9f92f2c17f61c443 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Fri, 12 Apr 2019 17:47:15 +0200 Subject: [PATCH] Air/Oxygen desktoptheme: fix hand offsets with hint-*-rotation-center-offset Summary: The hands of the clocks still relied on the KDE4 times rule that the position in y-axis relativ to the clock center would define the relative rotation point for the hands. With the default in Plasma 5 being (width/2, width/2) from topleft of the hand shape, using hints of upcoming Plasma 5.16 allows to override that again to match the original definition, without the need to enlarge the pixmaps of the hand shapes. Reviewers: #plasma, mart, ngraham Reviewed By: ngraham Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D20496 --- src/desktoptheme/air/widgets/clock.svg | 43 +++++++++++++++++++++++ src/desktoptheme/oxygen/widgets/clock.svg | 43 +++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/src/desktoptheme/air/widgets/clock.svg b/src/desktoptheme/air/widgets/clock.svg index 36ec4adfa..7725bb4fc 100644 --- a/src/desktoptheme/air/widgets/clock.svg +++ b/src/desktoptheme/air/widgets/clock.svg @@ -740,4 +740,47 @@ + + + + + + + diff --git a/src/desktoptheme/oxygen/widgets/clock.svg b/src/desktoptheme/oxygen/widgets/clock.svg index 6bea8ea02..f85f6e9fa 100644 --- a/src/desktoptheme/oxygen/widgets/clock.svg +++ b/src/desktoptheme/oxygen/widgets/clock.svg @@ -1081,4 +1081,47 @@ style="opacity:0.40090093;fill:url(#linearGradient3364);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.28699994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" sodipodi:type="arc" /> + + + + + + +