screenShield: Stop messing with fixed-position-set
We no longer change the position at all, so this property doesn't change and doesn't matter (anymore). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/927
This commit is contained in:
parent
ceda02f2da
commit
1f2116eaf8
@ -800,7 +800,6 @@ var ScreenShield = class {
|
|||||||
duration,
|
duration,
|
||||||
mode: Clutter.AnimationMode.EASE_IN_QUAD,
|
mode: Clutter.AnimationMode.EASE_IN_QUAD,
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
this._lockScreenGroup.fixed_position_set = false;
|
|
||||||
this._lockScreenState = MessageTray.State.SHOWN;
|
this._lockScreenState = MessageTray.State.SHOWN;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@ -1026,7 +1025,6 @@ var ScreenShield = class {
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this._lockScreenGroup.translation_y = 0;
|
this._lockScreenGroup.translation_y = 0;
|
||||||
this._lockScreenGroup.fixed_position_set = false;
|
|
||||||
this._lockScreenShown({ fadeToBlack, animateFade: false });
|
this._lockScreenShown({ fadeToBlack, animateFade: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1104,7 +1102,6 @@ var ScreenShield = class {
|
|||||||
this._cursorTracker.set_pointer_visible(false);
|
this._cursorTracker.set_pointer_visible(false);
|
||||||
|
|
||||||
this._lockScreenState = MessageTray.State.SHOWN;
|
this._lockScreenState = MessageTray.State.SHOWN;
|
||||||
this._lockScreenGroup.fixed_position_set = false;
|
|
||||||
this._lockScreenScrollCounter = 0;
|
this._lockScreenScrollCounter = 0;
|
||||||
|
|
||||||
if (params.fadeToBlack && params.animateFade) {
|
if (params.fadeToBlack && params.animateFade) {
|
||||||
|
Loading…
Reference in New Issue
Block a user