diff options
Diffstat (limited to 'src/imports/controls/Dial.qml')
-rw-r--r-- | src/imports/controls/Dial.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/controls/Dial.qml b/src/imports/controls/Dial.qml index 50f7ea7e..44862c69 100644 --- a/src/imports/controls/Dial.qml +++ b/src/imports/controls/Dial.qml @@ -66,7 +66,7 @@ T.Dial { opacity: control.enabled ? 1 : 0.3 transform: [ Translate { - y: -background.height * 0.4 + handle.height / 2 + y: -Math.min(background.width, background.height) * 0.4 + handle.height / 2 }, Rotation { angle: control.angle |