summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/lib/tray-animator.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/lib/tray-animator.js b/app/lib/tray-animator.js
index 44e0ada3a7..c4c00628c5 100644
--- a/app/lib/tray-animator.js
+++ b/app/lib/tray-animator.js
@@ -208,6 +208,16 @@ export class TrayAnimator {
this._started = false;
this._timer = null;
}
+
+ advanceToStart() {
+ this._animation.advanceToStart();
+ this._updateTrayIcon();
+ }
+
+ advanceToEnd() {
+ this._animation.advanceToEnd();
+ this._updateTrayIcon();
+ }
/**
* Start animating