-
Notifications
You must be signed in to change notification settings - Fork 28
Two animations for the same element lead to unexpected behavior #119
Comments
Hi @Luar78, It is not entirely clear to me which final visual effect you want to achieve, but here are a few options that 'might' be of any help to you.
Bart |
Hello Bart. The corresponding animation is started with infinite cycles. As soon as the measured values of the Victron components show a different flow, the animations are stopped accordingly and others are started. Raul. |
Hi @Luar78, Thanks for sharing your project. That makes it much more clear. Nice setup! Did I understand correctly that this issue is solved? |
Hi @bartbutenaers. Raul. |
Hi. Here is the problem I have encountered. I have created two animations for a line "RailR2".
The first animation should do a running light to the right and the second animation a running light to the left by the attribute "stroke-dashoffset".
If I start both animations by two input message, then the animations block each other and the line stops and does not move.
Although I send more "input message" to stop the animations and then to start them, I can't get the animations to run.
Apparently there is no way to check if a certain animation is active to stop it specifically before starting the opposite one.
I am currently using
node-red 3.0.2
node-red-dashboard 3.4.0
node-red-contrib-ui-svg 2.3.1
The text was updated successfully, but these errors were encountered: