cleanup: Remove empty leading/trailing lines in blocks
gjs added a new rule to its eslint ruleset that forbids "block padding", so make sure we conform to that rule before syncing up the configuration. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1498
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
7521b9c4b2
commit
8a47f1c667
@ -357,7 +357,6 @@ var WorkspaceTracker = class {
|
||||
workspace._windowAddedId = workspace.connect('window-added', this._queueCheckWorkspaces.bind(this));
|
||||
workspace._windowRemovedId = workspace.connect('window-removed', this._windowRemoved.bind(this));
|
||||
}
|
||||
|
||||
} else {
|
||||
// Assume workspaces are only removed sequentially
|
||||
// (e.g. 2,3,4 - not 2,4,7)
|
||||
@ -516,7 +515,6 @@ var AppSwitchAction = GObject.registerClass({
|
||||
}
|
||||
|
||||
vfunc_gesture_progress(_actor) {
|
||||
|
||||
if (this.get_n_current_points() == 3) {
|
||||
for (let i = 0; i < this.get_n_current_points(); i++) {
|
||||
let [startX, startY] = this.get_press_coords(i);
|
||||
@ -526,7 +524,6 @@ var AppSwitchAction = GObject.registerClass({
|
||||
Math.abs(y - startY) > APP_MOTION_THRESHOLD)
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user