From 1613f172e52de8af3e0204d3d23802fa2caf323e Mon Sep 17 00:00:00 2001 From: Ruurd Pels Date: Sat, 4 Jun 2016 18:38:02 +0200 Subject: [PATCH] Only animate the running and restarting icon five times. Continuously animating loads the CPU a lot and we can use the cycles better somewhere else. --- styles/left-panel.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/left-panel.less b/styles/left-panel.less index fd322339ac..8e2e0976c5 100644 --- a/styles/left-panel.less +++ b/styles/left-panel.less @@ -219,7 +219,7 @@ .at2x('runningwave.png', @container-state-size, @container-state-size); -webkit-animation-name: translatewave; -webkit-animation-duration: 7.0s; - -webkit-animation-iteration-count: infinite; + -webkit-animation-iteration-count: 5; -webkit-animation-timing-function: linear; } } @@ -232,7 +232,7 @@ -webkit-animation-delay: -1s; -webkit-animation-name: rotate; -webkit-animation-duration: 3.0s; - -webkit-animation-iteration-count: infinite; + -webkit-animation-iteration-count: 5; -webkit-animation-timing-function: linear; } }