From 5e46b5bb617b5e15cebc4033bfd0ae9ab2248aba Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 22 Apr 2020 16:26:57 +0200 Subject: Dial: remove unnecessary id qualifications This amends 467aa59a8. Pick-to: 5.15 Change-Id: If162e6fe6f3087e905457d23248e95ae31726e4d Reviewed-by: Mitch Curtis Reviewed-by: Fabian Kosmale --- src/imports/controls/material/Dial.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imports/controls/material') diff --git a/src/imports/controls/material/Dial.qml b/src/imports/controls/material/Dial.qml index 706261fc..1ad9a0ce 100644 --- a/src/imports/controls/material/Dial.qml +++ b/src/imports/controls/material/Dial.qml @@ -62,8 +62,8 @@ T.Dial { } handle: SliderHandle { - x: control.background.x + control.background.width / 2 - control.handle.width / 2 - y: control.background.y + control.background.height / 2 - control.handle.height / 2 + x: control.background.x + control.background.width / 2 - width / 2 + y: control.background.y + control.background.height / 2 - height / 2 transform: [ Translate { y: -control.background.height * 0.4 + control.handle.height / 2 -- cgit v1.2.3