summaryrefslogtreecommitdiffstats
path: root/basicsuite
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite')
-rw-r--r--basicsuite/Qt5 Cinematic Demo/content/MainView.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/basicsuite/Qt5 Cinematic Demo/content/MainView.qml b/basicsuite/Qt5 Cinematic Demo/content/MainView.qml
index 9f0f8f5..73efe70 100644
--- a/basicsuite/Qt5 Cinematic Demo/content/MainView.qml
+++ b/basicsuite/Qt5 Cinematic Demo/content/MainView.qml
@@ -127,10 +127,10 @@ Item {
property int w: root.width > 0 ? root.width : 1
property int h: root.height > 0 ? root.height : 1
startX: w*0.4; startY: h*0.3
- PathCurve { x: w*0.8; y: h*0.2 }
- PathCurve { x: w*0.8; y: h*0.7 }
- PathCurve { x: w*0.1; y: h*0.6 }
- PathCurve { x: w*0.4; y: h*0.3 }
+ PathCurve { x: lightAnimPath.w*0.8; y: lightAnimPath.h*0.2 }
+ PathCurve { x: lightAnimPath.w*0.8; y: lightAnimPath.h*0.7 }
+ PathCurve { x: lightAnimPath.w*0.1; y: lightAnimPath.h*0.6 }
+ PathCurve { x: lightAnimPath.w*0.4; y: lightAnimPath.h*0.3 }
}
}