Revert "trigger the correct behavior for play/pause"
This reverts commit d15d8185433313f4d0b8b9dcddb4cbdf1d9bdf3b.
diff --git a/build/player/lottie_worker.js b/build/player/lottie_worker.js
index ba6ec0c..2da51ea 100644
--- a/build/player/lottie_worker.js
+++ b/build/player/lottie_worker.js
@@ -2340,7 +2340,7 @@
if (this.isPaused === true) {
this.isPaused = false;
- this.trigger('_play');
+ this.trigger('_pause');
this.audioController.resume();
if (this._idle) {
@@ -2357,7 +2357,7 @@
if (this.isPaused === false) {
this.isPaused = true;
- this.trigger('_pause');
+ this.trigger('_play');
this._idle = true;
this.trigger('_idle');
this.audioController.pause();