From 05a60213953cc267a6c39c109ae1f3a953f0dd1f Mon Sep 17 00:00:00 2001 From: jos Date: Wed, 9 Sep 2015 16:57:42 +0200 Subject: [PATCH] Fixed an error in the configurator option `throttleRedraw` --- lib/timeline/optionsGraph2d.js | 2 +- lib/timeline/optionsTimeline.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/timeline/optionsGraph2d.js b/lib/timeline/optionsGraph2d.js index 163f5eb2..d5ef4bae 100644 --- a/lib/timeline/optionsGraph2d.js +++ b/lib/timeline/optionsGraph2d.js @@ -215,7 +215,7 @@ let configureOptions = { }, autoResize: true, - throttleRedraw: 0, + throttleRedraw: [10, 0, 1000, 10], clickToUse: false, end: '', format: { diff --git a/lib/timeline/optionsTimeline.js b/lib/timeline/optionsTimeline.js index 06a58552..8f8c829a 100644 --- a/lib/timeline/optionsTimeline.js +++ b/lib/timeline/optionsTimeline.js @@ -136,7 +136,7 @@ let configureOptions = { global: { align: ['center', 'left', 'right'], autoResize: true, - throttleRedraw: 0, + throttleRedraw: [10, 0, 1000, 10], clickToUse: false, // dataAttributes: ['all'], // FIXME: can be 'all' or string[] editable: {