diff options
Diffstat (limited to 'examples/qml/dynamicscene/dynamicscene.qml')
-rw-r--r-- | examples/qml/dynamicscene/dynamicscene.qml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/qml/dynamicscene/dynamicscene.qml b/examples/qml/dynamicscene/dynamicscene.qml index 0775d7593e..6b127da1db 100644 --- a/examples/qml/dynamicscene/dynamicscene.qml +++ b/examples/qml/dynamicscene/dynamicscene.qml @@ -268,9 +268,11 @@ Item { name: "Day" when: window.activeSuns > 0 - PropertyChanges { target: gradientStopA; color: "DeepSkyBlue" } - PropertyChanges { target: gradientStopB; color: "SkyBlue" } - PropertyChanges { target: stars; opacity: 0 } + PropertyChanges { + gradientStopA.color: "DeepSkyBlue" + gradientStopB.color: "SkyBlue" + stars.opacity: 0 + } } //! [top-level transitions] |