diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-05-02 09:49:59 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-05-02 10:51:18 +0300 |
commit | acdc7ac9bc78e8f2200229d34354a2e1e17e2707 (patch) | |
tree | 529b59ae08b6fc48ec0316eb99b6caf19d23e689 | |
parent | e1dccc5c01b6cb6de7059f9311328fa354795037 (diff) |
Fix particles in cinematic
Change-Id: Ied35d92fd2ee232b74903258d2c549f5c2a69aed
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
-rw-r--r-- | basicsuite/Qt5 Cinematic Demo/content/MainView.qml | 8 |
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 } } } |