Don't turn the favicon animations on
This commit is contained in:
parent
5e4f572a46
commit
27604d2798
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,11 @@ import Favico from 'favico.js';
|
||||||
export default class WebPlatform extends BasePlatform {
|
export default class WebPlatform extends BasePlatform {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
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();
|
this.updateFavicon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue