question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Concatenation and repetition of animations is not applied

See original GitHub issue

My attempts in creating an animation with multiple stages or with repetition have failed. The following is an example of both concatenation and repetition:

Animate.Property(tb2, Canvas.LeftProperty, g, 0, new LinearDoubleEasing(), TimeSpan.FromSeconds(3))
       .Merge(Animate.Property(tb, Canvas.LeftProperty, 0, -g, new LinearDoubleEasing(),
                               TimeSpan.FromSeconds(3)))
       .Concat(Animate.Property(tb2, Canvas.LeftProperty, 0, -g, new LinearDoubleEasing(),
                                TimeSpan.FromSeconds(3))
                      .Merge(Animate.Property(tb, Canvas.LeftProperty, g, 0,
                                              new LinearDoubleEasing(),
                                              TimeSpan.FromSeconds(3))))
       .Repeat()
       .Subscribe();

In this example, the Merge is working correctly and both controls move to the left as specified in the first two lines, but once that part is done executing, the animation stops. Even removing the Concat and using Repeat alone (with or without a parameter) does not help.

Am I doing something wrong here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
OronDF343commented, Oct 17, 2018

Sure, we can close this. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Combining multiple CSS animations into one overall ...
What I want to do is combine all of these into one animation instead of several. Currently, I add a class to trigger...
Read more >
Concatenation (+) and Repetition (*) in Python
In python, concatenations and repetitions are supported by sequence data types both mutable(list) and immutable(tuple, strings). Sequence types like range ...
Read more >
Python String Operator
In this article, we will discuss different Python String Operator with examples - Concatenation Operator & Replication Operator.
Read more >
Concatenate images with Python, Pillow - nkmk note
Pillow (PIL) can be used to concatenate (combine) multiple images vertically and horizontally. Create a background with Image.new() and ...
Read more >
animation-iteration-count - CSS: Cascading Style Sheets | MDN
The animation-iteration-count CSS property sets the number of times an animation sequence should be played before stopping.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found