summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/lib/tray-animation.js6
-rw-r--r--app/lib/tray-animator.js8
2 files changed, 10 insertions, 4 deletions
diff --git a/app/lib/tray-animation.js b/app/lib/tray-animation.js
index c5fa35f8fc..618d0383c0 100644
--- a/app/lib/tray-animation.js
+++ b/app/lib/tray-animation.js
@@ -172,8 +172,7 @@ export default class TrayAnimation {
}
/**
- * Advance animation to the start
- * This method respects animation reversal
+ * Advance animation to the start. This method respects animation reversal
*
* @memberOf TrayAnimation
*/
@@ -182,8 +181,7 @@ export default class TrayAnimation {
}
/**
- * Advance animation to the end
- * This method respects animation reversal
+ * Advance animation to the end. This method respects animation reversal
*
* @memberOf TrayAnimation
*/
diff --git a/app/lib/tray-animator.js b/app/lib/tray-animator.js
index d1873025f8..9fb03b5588 100644
--- a/app/lib/tray-animator.js
+++ b/app/lib/tray-animator.js
@@ -30,11 +30,19 @@ export default class TrayAnimator {
this._timer = null;
}
+ /**
+ * Advance animation to the start *
+ * @memberOf TrayAnimator
+ */
advanceToStart() {
this._animation.advanceToStart();
this._updateTrayIcon();
}
+ /**
+ * Advance animation to the end
+ * @memberOf TrayAnimator
+ */
advanceToEnd() {
this._animation.advanceToEnd();
this._updateTrayIcon();