style: Fix indentation errors
While we have some style inconsistencies - mostly regarding split lines, i.e. aligning to the first arguments vs. a four-space indent - there are a couple of places where the spacing is simply wrong. Fix those. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/608
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
8fcd6c7153
commit
1398aa6562
@ -636,16 +636,16 @@ var PopupMenuBase = class {
|
||||
let i = 0;
|
||||
|
||||
while (i < items.length && position > 0) {
|
||||
if (items[i] != menuItem)
|
||||
position--;
|
||||
i++;
|
||||
if (items[i] != menuItem)
|
||||
position--;
|
||||
i++;
|
||||
}
|
||||
|
||||
if (i < items.length) {
|
||||
if (items[i] != menuItem)
|
||||
this.box.set_child_below_sibling(menuItem.actor, items[i].actor);
|
||||
if (items[i] != menuItem)
|
||||
this.box.set_child_below_sibling(menuItem.actor, items[i].actor);
|
||||
} else {
|
||||
this.box.set_child_above_sibling(menuItem.actor, null);
|
||||
this.box.set_child_above_sibling(menuItem.actor, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user