From 27604d279866e0930a401916282741ea92b6b457 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 20 Oct 2016 15:01:07 +0100 Subject: [PATCH] Don't turn the favicon animations on --- src/vector/platform/WebPlatform.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vector/platform/WebPlatform.js b/src/vector/platform/WebPlatform.js index 479cf6914e..283b669a47 100644 --- a/src/vector/platform/WebPlatform.js +++ b/src/vector/platform/WebPlatform.js @@ -5,7 +5,11 @@ import Favico from 'favico.js'; export default class WebPlatform extends BasePlatform { constructor() { super(); - this.favicon = new Favico({animation: 'popFade'}); + // The 'animations' are really low framerate and look terrible. + // Also it re-starts the animationb every time you set the badge, + // and we set the state each time, even if the value hasn't changed, + // so we'd need to fix that if enabling the animation. + this.favicon = new Favico({animation: 'none'}); this.updateFavicon(); }