The states are changing, but do so instantly with no animation over 100 ms or 1000 ms depending on the transition; that is to say, the transitions appear to be ignored. Anyone know why?
states: [
State{
name:"visible"
PropertyChanges {
target: shell
opacity: 1.0
}
},
State{
name:"hidden"
PropertyChanges {
target: shell
opacity: 0.0
}
}
]
state: "hidden"
transitions:[
Transition{
from: "hidden"
to: "visible"
PropertyAnimation{
target: shell
property: opacity
duration: 100
}
},
Transition{
from: "visible"
to: "hidden"
PropertyAnimation{
target: shell
property: opacity
duration: 1000
}
}
]
↧