Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 4x | import { TimelineConsts } from '../timelineConsts';
export const defaultTimelineConsts: TimelineConsts = {
/**
* Private. Auto pan speed.
*/
autoPanSpeed: 50,
/**
* Private. scroll speed when mouse drag is used (from 0 to 1)
*/
scrollByDragSpeed: 0.12,
/**
* Private. Determine whether item was clicked.
*/
clickDetectionMs: 120,
/**
* Private. Timeout to detect double click.
*/
doubleClickTimeoutMs: 400,
/**
* Private. Time in ms used to refresh scrollbars when pan is finished.
*/
scrollFinishedTimeoutMs: 500,
/**
* Private. Auto pan padding
*/
autoPanByScrollPadding: 10,
/**
* Private. Click threshold
*/
clickThreshold: 3,
/**
* Private. Private.Click min radius for the elements detection.
*/
clickDetectionMinRadius: 2,
/**
* Private. Skip some auto pan/scroll actions if they are executed more rapid than this value.
*/
autoPanSpeedLimit: 10,
/**
* Private. Default auto size for the group. It's percents.
*/
defaultGroupHeight: 0.7,
} as TimelineConsts;
|