We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5bbd43 + 0948691 commit b65e7a9Copy full SHA for b65e7a9
src/main-api/Inspector.ts
@@ -311,13 +311,15 @@ export class Inspector {
311
): IAnimationController => {
312
const animationController = originalAnimate.call(node, props, settings);
313
314
- return {
315
- ...animationController,
316
- start: () => {
317
- this.animateNode(div, props, settings);
318
- return animationController.start();
319
- },
+ const originalStart =
+ animationController.start.bind(animationController);
+ animationController.start = () => {
+ this.animateNode(div, props, settings);
+
+ return originalStart();
320
};
321
322
+ return animationController;
323
},
324
});
325
0 commit comments