window-list: Don't use anchor point

It is deprecated and we can easily replace it with a translation.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/64
This commit is contained in:
Florian Müllner
2019-03-05 12:45:59 +01:00
committed by Florian Müllner
parent e3a6e8f82c
commit 7c412ca7d9

View File

@@ -1009,8 +1009,8 @@ class WindowList {
if (!Main.keyboard.actor)
return;
let anchorY = Main.overview.visible ? 0 : this.actor.height;
Main.keyboard.actor.anchor_y = anchorY;
let translationY = Main.overview.visible ? 0 : this.actor.height;
Main.keyboard.actor.translation_y = -translationY;
}
_onAppStateChanged(appSys, app) {