Align outro animations at slide end
This commit is contained in:
1 parent
8ee59e97d3
commit
24a566a1a4
7 files changed
+88
-49
No files matched your search
@@ -1256,8 +1256,12 @@ test('player applies animation delays and schedules outro triggers to finish at
|
||||
assert.equal(values['animation-delay'], '250ms');
|
||||
|
||||
sandbox.scheduleSlideOutro(5000);
|
||||
assert.equal(timers[0].delay, 3200);
|
||||
assert.equal(timers[0].delay, 3150);
|
||||
timers[0].callback();
|
||||
assert.equal(values['--animate-duration'], '700ms');
|
||||
assert.equal(values['animation-delay'], undefined);
|
||||
|
||||
timers.length = 0;
|
||||
assert.equal(sandbox.scheduleSlideOutro(1000), 1850);
|
||||
assert.equal(timers[0].delay, 0);
|
||||
});
|
||||
Reference in new issue
Block a user