]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix hover-out regression (#7785)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Fri, 11 Sep 2020 14:46:25 +0000 (17:46 +0300)
committerGitHub <noreply@github.com>
Fri, 11 Sep 2020 14:46:25 +0000 (10:46 -0400)
src/core/core.animations.js

index 36549aa9af9a1b1870712e37e2ad938ca47bbf01..1a4e9b0ca50829469155690dc1f6500305688d16 100644 (file)
@@ -129,7 +129,7 @@ export default class Animations {
                        // Going from distinct options to shared options:
                        // After all animations are done, assing the shared options object to the element
                        // So any new updates to the shared options are observed
-                       awaitAll(target.$animations, newOptions).then(() => {
+                       awaitAll(target.options.$animations, newOptions).then(() => {
                                target.options = newOptions;
                        });
                }