From d9836db18ec792eb24b2231a6d4b78b96f44d117 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 19 Apr 2023 06:33:41 -0500 Subject: [PATCH] ensuring that visual position follow initialValues Since the internal components change visualPosition this will just setup initialValues properly for anything looking at visualPosition from the start --- src/qml/presenter/RangedSlider.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/presenter/RangedSlider.qml b/src/qml/presenter/RangedSlider.qml index 02293d7..7535b70 100644 --- a/src/qml/presenter/RangedSlider.qml +++ b/src/qml/presenter/RangedSlider.qml @@ -16,8 +16,8 @@ Rectangle { property real secondValue property real firstInitialValue property real secondInitialValue - property real firstVisualPosition - property real secondVisualPosition + property real firstVisualPosition: firstInitialValue + property real secondVisualPosition: secondInitialValue signal firstReleased() signal secondReleased()