2014-12-04, 16:52
I'm having issues synchronizing two animations. They slide the same amount of pixels in the same direction, have the same duration and no delay or tween. What's going on?
(2014-12-04, 16:52)toolpunk Wrote: I'm having issues synchronizing two animations. They slide the same amount of pixels in the same direction, have the same duration and no delay or tween. What's going on?
(2014-12-04, 18:26)toolpunk Wrote: Yup, one's starting a little bit earlier. I can't put it in the same group as it's two different xml files actually. Basically what I want to do is move the video library up and have the video info dialog slide in from below. On opening the dialog there's a significant gap between the two backgrounds, but when closing it everything works fine. If I reopen the info dialog the gap is still there but smaller.My guess is because the window you are calling is the videoinformation window the window becomes active and the library animation event triggers but the window hasn't finished loading causing a delay.
I figured it might be a window loading issue, but what I don't got then is that both animations listen on the same event "Window.IsActive(videoinformation)". So any change in that boolean should trigger both animations at the exact same time.