Skip to content

Commit

Permalink
fix: temporary disable animation (#164)
Browse files Browse the repository at this point in the history
Disable animations for all charts until we fix #89 and #41 and until we found a right strategy for
animate everything nicely and at 60fps.

fix #161
  • Loading branch information
markov00 authored Apr 11, 2019
1 parent 56d67aa commit c53c8a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/state/chart_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,9 @@ export class ChartStore {
this.annotationDimensions.replace(updatedAnnotationDimensions);

this.canDataBeAnimated = isChartAnimatable(seriesGeometries.geometriesCounts, this.animateData);
// temporary disabled until
// https://github.com/elastic/elastic-charts/issues/89 and https://github.com/elastic/elastic-charts/issues/41
this.canDataBeAnimated = false;
this.initialized.set(true);
}
}

0 comments on commit c53c8a6

Please sign in to comment.