Commit cd2dc85e authored by Sergey Chupligin's avatar Sergey Chupligin

[CheckBoxStyle] fix start state of checkbox

parent adf83cac
......@@ -77,6 +77,12 @@ CheckBoxStyle {
}
}
Component.onCompleted: {
back1.opacity = control.checked ? 1 : 0
back2.opacity = control.checked ? 0 : 1
ball.x = control.checked ? 32 : 0
}
SequentialAnimation {
id: anim1
running: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment