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
This commit is contained in:
parent
5583f881df
commit
f64d64035a
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user