From acdc7ac9bc78e8f2200229d34354a2e1e17e2707 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Thu, 2 May 2013 09:49:59 +0200 Subject: Fix particles in cinematic Change-Id: Ied35d92fd2ee232b74903258d2c549f5c2a69aed Reviewed-by: Gunnar Sletta --- basicsuite/Qt5 Cinematic Demo/content/MainView.qml | 8 ++++---- 1 file 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 } } } -- cgit v1.2.3