mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
cleanup: Mark unused (but useful) variables as ignored
While we aren't using those destructured variables, they are still useful to document the meaning of those elements. We don't want eslint to keep warning about them though, so mark them accordingly. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
parent
11b116cb9d
commit
71759a0769
37 changed files with 84 additions and 84 deletions
|
|
@ -134,7 +134,7 @@ function _onButtonPressEvent(actor, event, entry) {
|
|||
}
|
||||
|
||||
function _onPopup(actor, entry) {
|
||||
let [success, textX, textY, lineHeight] = entry.clutter_text.position_to_coords(-1);
|
||||
let [success, textX, textY_, lineHeight_] = entry.clutter_text.position_to_coords(-1);
|
||||
if (success)
|
||||
entry.menu.setSourceAlignment(textX / entry.width);
|
||||
entry.menu.open(BoxPointer.PopupAnimation.FULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue