[gnome-shell] animation: Run every 16ms not ever 14ms



commit 6f26e39082fc57788efdc0931bb690695ace7f7e
Author: Ray Strode <rstrode redhat com>
Date:   Tue Oct 20 16:50:50 2015 -0400

    animation: Run every 16ms not ever 14ms
    
    Right now the spinner animation updates every 14ms.
    60 frames per second would be one frame per 16.667ms,
    so we're waking up more frequently than we need to.
    
    This commit changes the wakeup to happen after 16ms.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754814

 js/ui/animation.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/animation.js b/js/ui/animation.js
index 08f8f7e..d86fefe 100644
--- a/js/ui/animation.js
+++ b/js/ui/animation.js
@@ -7,7 +7,7 @@ const St = imports.gi.St;
 const Signals = imports.signals;
 const Atk = imports.gi.Atk;
 
-const ANIMATED_ICON_UPDATE_TIMEOUT = 14;
+const ANIMATED_ICON_UPDATE_TIMEOUT = 16;
 
 const Animation = new Lang.Class({
     Name: 'Animation',


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