]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Fix/3061 (#3446)
authorEvert Timberg <evert.timberg+github@gmail.com>
Sun, 9 Oct 2016 16:26:59 +0000 (12:26 -0400)
committerGitHub <noreply@github.com>
Sun, 9 Oct 2016 16:26:59 +0000 (12:26 -0400)
commitd21a853f30a87a4cb0fe6c6f2bb39320c0404c19
treeb10f886dfc2df4dc374818c058aaa38b8a30cfcd
parent65a06e473560a4d923ed52d4437c3666662d44a6
Fix/3061 (#3446)

Solve weird animation issues with the tooltip. The optimization in Chart.Element.transition when the animation finishes to set `_view = _model` caused problems during update because we were using `helpers.extend` all over the place.

I changed to code so that we regenerate the model variable rather than continuously extending the old version. I also removed unnecessary tooltip reinitializations from the controller which should improve overall performance during interaction.
src/core/core.controller.js
src/core/core.tooltip.js