Use SequentialAnimation.loops in FlashAnimation in handlers example
It looks less tedious. Amends 8503f884bb
Pick-to: 6.2 6.4 6.5
Change-Id: I85690e6a8ceac4ebec1c00bcbbf6a81108096e6c
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
This commit is contained in:
parent
17e9d44807
commit
40e2811843
|
@ -6,15 +6,9 @@ import QtQuick
|
|||
SequentialAnimation {
|
||||
id: tapFlash
|
||||
running: false
|
||||
loops: 3
|
||||
PropertyAction { value: false }
|
||||
PauseAnimation { duration: 100 }
|
||||
PropertyAction { value: true }
|
||||
PauseAnimation { duration: 100 }
|
||||
PropertyAction { value: false }
|
||||
PauseAnimation { duration: 100 }
|
||||
PropertyAction { value: true }
|
||||
PauseAnimation { duration: 100 }
|
||||
PropertyAction { value: false }
|
||||
PauseAnimation { duration: 100 }
|
||||
PropertyAction { value: true }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue