mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Made commandFactory tests not break anymore
Sequences that were scheduled directly after each other, such as "a b c" and "1 2 3" would end up overlapping sometimes, producing "a b 1 c 2 3" which failed to trigger the correct commands. Change-Id: I27bb60e856e9d692a21e1587dc227f8aeb5fcf4e
This commit is contained in:
parent
6082953562
commit
273c6ac7bd
|
@ -46,6 +46,8 @@
|
||||||
var i;
|
var i;
|
||||||
|
|
||||||
chars = chars.split( ' ' );
|
chars = chars.split( ' ' );
|
||||||
|
// Add a little time buffer between sequences so adjacent ones don't end up overlapping
|
||||||
|
sequenceSimulatorOffset += 100;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility function to avoid making functions
|
* Utility function to avoid making functions
|
||||||
|
|
Loading…
Reference in a new issue