cleanup: Mark unused arguments as unused
This will stop eslint from warning about them, while keeping their self-documenting benefit. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
@ -74,7 +74,7 @@ var ShowOverviewAction = GObject.registerClass({
|
||||
});
|
||||
}
|
||||
|
||||
vfunc_gesture_prepare(actor) {
|
||||
vfunc_gesture_prepare(_actor) {
|
||||
return Main.actionMode == Shell.ActionMode.NORMAL &&
|
||||
this.get_n_current_points() == this.get_n_touch_points();
|
||||
}
|
||||
@ -108,12 +108,12 @@ var ShowOverviewAction = GObject.registerClass({
|
||||
height: maxY - minY });
|
||||
}
|
||||
|
||||
vfunc_gesture_begin(actor) {
|
||||
vfunc_gesture_begin(_actor) {
|
||||
this._initialRect = this._getBoundingRect(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
vfunc_gesture_end(actor) {
|
||||
vfunc_gesture_end(_actor) {
|
||||
let rect = this._getBoundingRect(true);
|
||||
let oldArea = this._initialRect.width * this._initialRect.height;
|
||||
let newArea = rect.width * rect.height;
|
||||
|
Reference in New Issue
Block a user