gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] branch master updated: don't animate b


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: don't animate badge for Firefox
Date: Mon, 22 Jan 2018 01:28:14 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

The following commit(s) were added to refs/heads/master by this push:
     new 3325d1d0 don't animate badge for Firefox
3325d1d0 is described below

commit 3325d1d050f637cdd9a2932d7dd28c23d189d23c
Author: Florian Dold <address@hidden>
AuthorDate: Mon Jan 22 01:28:07 2018 +0100

    don't animate badge for Firefox
---
 src/webex/chromeBadge.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/webex/chromeBadge.ts b/src/webex/chromeBadge.ts
index beb1dc44..15b68ef0 100644
--- a/src/webex/chromeBadge.ts
+++ b/src/webex/chromeBadge.ts
@@ -18,6 +18,8 @@ import {
   Badge,
 } from "../walletTypes";
 
+import { isFirefox } from "./compat";
+
 
 /**
  * Polyfill for requestAnimationFrame, which
@@ -190,6 +192,10 @@ export class ChromeBadge implements Badge {
     if (this.animationRunning) {
       return;
     }
+    if (isFirefox()) {
+      // Firefox does not support badge animations properly
+      return;
+    }
     this.animationRunning = true;
     let start: number|undefined;
     const step = (timestamp: number) => {

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]