Separate TimelineClip

This commit is contained in:
Franc Camps-Febrer
2019-01-03 17:33:44 +01:00
parent 9bb3c9c2ab
commit d8b27cea54
3 changed files with 22 additions and 21 deletions

View File

@@ -284,7 +284,7 @@ export default function(svg, ui, methods) {
function update(newCategories, newTimerange) {
if (hash(categories) !== hash(newCategories)) categories = newCategories;
if (hash(timerange) !== hash(newTimerange)) timerange = newTimerange;
scale.x.domain(timerange);
render();
}