diff --git a/lib/timeline/Stack.js b/lib/timeline/Stack.js index 3222ca674..3996a8386 100644 --- a/lib/timeline/Stack.js +++ b/lib/timeline/Stack.js @@ -1,5 +1,6 @@ // Utility functions for ordering and stacking of items -const EPSILON = 0.001; // used when checking collisions, to prevent round-off errors +//Found empirically, in order to avoid unnecessary overlaps and ensure that no element overflow occurs +const EPSILON = 1; // used when checking collisions, to prevent round-off errors /** * Order items by their start data