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:
Shawn Rutledge 2023-02-20 09:18:40 +01:00
parent 17e9d44807
commit 40e2811843
1 changed files with 1 additions and 7 deletions

View File

@ -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 }
}