mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
79cf3a6dd0
commit
2f97a1a55d
44 changed files with 110 additions and 110 deletions
|
|
@ -26,7 +26,7 @@ var EdgeDragAction = GObject.registerClass({
|
|||
return global.display.get_monitor_geometry(monitorIndex);
|
||||
}
|
||||
|
||||
vfunc_gesture_prepare(actor) {
|
||||
vfunc_gesture_prepare(_actor) {
|
||||
if (this.get_n_current_points() == 0)
|
||||
return false;
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ var EdgeDragAction = GObject.registerClass({
|
|||
(this._side == St.Side.BOTTOM && y > monitorRect.y + monitorRect.height - EDGE_THRESHOLD));
|
||||
}
|
||||
|
||||
vfunc_gesture_progress(actor) {
|
||||
vfunc_gesture_progress(_actor) {
|
||||
let [startX, startY] = this.get_press_coords(0);
|
||||
let [x, y] = this.get_motion_coords(0);
|
||||
let offsetX = Math.abs (x - startX);
|
||||
|
|
@ -62,7 +62,7 @@ var EdgeDragAction = GObject.registerClass({
|
|||
return true;
|
||||
}
|
||||
|
||||
vfunc_gesture_end(actor) {
|
||||
vfunc_gesture_end(_actor) {
|
||||
let [startX, startY] = this.get_press_coords(0);
|
||||
let [x, y] = this.get_motion_coords(0);
|
||||
let monitorRect = this._getMonitorRect(startX, startY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue