diff options
Diffstat (limited to 'demos/declarative/contacts/Button.qml')
-rw-r--r-- | demos/declarative/contacts/Button.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/declarative/contacts/Button.qml b/demos/declarative/contacts/Button.qml index 476f170..9719231 100644 --- a/demos/declarative/contacts/Button.qml +++ b/demos/declarative/contacts/Button.qml @@ -34,16 +34,16 @@ Item { ] transitions: [ Transition { - fromState: "*" - toState: "pressed" + from: "*" + to: "pressed" ColorAnimation { property: "color" duration: 200 } }, Transition { - fromState: "pressed" - toState: "*" + from: "pressed" + to: "*" ColorAnimation { property: "color" duration: 1000 |