From 0146bdb5e394f48c77f6d212d2488fdb657ee120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5var=20Aamb=C3=B8=20Fosstveit?= Date: Wed, 31 Oct 2018 13:27:30 +0100 Subject: [PATCH] Animation update --- app/lib/components/HiddenPeers.jsx | 2 +- app/stylus/components/HiddenPeersView.styl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/lib/components/HiddenPeers.jsx b/app/lib/components/HiddenPeers.jsx index cb1542a..5c34d70 100644 --- a/app/lib/components/HiddenPeers.jsx +++ b/app/lib/components/HiddenPeers.jsx @@ -29,7 +29,7 @@ class HiddenPeers extends Component this.timeout = setTimeout(() => { this.setState({ className: '' }); - }, 1000); + }, 2000); }); } } diff --git a/app/stylus/components/HiddenPeersView.styl b/app/stylus/components/HiddenPeersView.styl index 45adaa7..b87ddf0 100644 --- a/app/stylus/components/HiddenPeersView.styl +++ b/app/stylus/components/HiddenPeersView.styl @@ -39,7 +39,7 @@ animation: none; &.pulse { - animation: pulse 1s; + animation: pulse 2s; } } @@ -80,7 +80,7 @@ @keyframes pulse { 0% { - box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9); + box-shadow: 0 0 0 0 rgba(255, 255, 255, 1.0); } 70% {