window-list: Adjust animation time

gnome-shell changed all animations times to use milliseconds.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/86
This commit is contained in:
Florian Müllner
2019-08-10 00:12:39 +02:00
parent 9743054174
commit af6f5fea54
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -846,7 +846,7 @@ const WindowList = GObject.registerClass({
Tweener.addTween(this._windowList, {
opacity: visible ? 255 : 0,
transition: 'ease-out-quad',
time: Overview.ANIMATION_TIME
time: Overview.ANIMATION_TIME / 1000
});
this._windowList.reactive = visible;
+1 -1
View File
@@ -176,7 +176,7 @@ var WindowPicker = GObject.registerClass({
Main.overview.animationInProgress = true;
GLib.timeout_add(
GLib.PRIORITY_DEFAULT,
Overview.ANIMATION_TIME * 1000,
Overview.ANIMATION_TIME,
() => {
Main.overview.animationInProgress = false;
if (onComplete)