js: Remove dead code in loginDialog and workspacesView
- this._scrolling no longer exists - _getBannerAllocation takes a single argument Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2042>
This commit is contained in:
parent
f752be2bfe
commit
f04914ac15
@ -602,7 +602,7 @@ var LoginDialog = GObject.registerClass({
|
||||
let bannerAllocation = null;
|
||||
let bannerHeight = 0;
|
||||
if (this._bannerView.visible) {
|
||||
bannerAllocation = this._getBannerAllocation(dialogBox, this._bannerView);
|
||||
bannerAllocation = this._getBannerAllocation(dialogBox);
|
||||
bannerHeight = bannerAllocation.y2 - bannerAllocation.y1;
|
||||
}
|
||||
|
||||
|
@ -484,9 +484,6 @@ class WorkspacesView extends WorkspacesViewBase {
|
||||
}
|
||||
|
||||
_activeWorkspaceChanged(_wm, _from, _to, _direction) {
|
||||
if (this._scrolling)
|
||||
return;
|
||||
|
||||
this._scrollToActive();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user