diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js index 22aca44c..1d586aaf 100644 --- a/extensions/apps-menu/extension.js +++ b/extensions/apps-menu/extension.js @@ -577,8 +577,8 @@ class ApplicationsButton extends PanelMenu.Button { }); this.categoriesScrollBox.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC); vscroll = this.categoriesScrollBox.get_vscroll_bar(); - vscroll.connect('scroll-start', () => this.menu.passEvents = true); - vscroll.connect('scroll-stop', () => this.menu.passEvents = false); + vscroll.connect('scroll-start', () => (this.menu.passEvents = true)); + vscroll.connect('scroll-stop', () => (this.menu.passEvents = false)); this.leftBox.add(this.categoriesScrollBox, { expand: true, x_fill: true, diff --git a/extensions/auto-move-windows/extension.js b/extensions/auto-move-windows/extension.js index 16b54610..4536e85e 100644 --- a/extensions/auto-move-windows/extension.js +++ b/extensions/auto-move-windows/extension.js @@ -124,7 +124,7 @@ function myCheckWorkspaces() { } // make sure the original method only removes empty workspaces at the end - keepAliveWorkspaces.forEach(ws => ws._keepAliveId = 1); + keepAliveWorkspaces.forEach(ws => (ws._keepAliveId = 1)); prevCheckWorkspaces.call(this); keepAliveWorkspaces.forEach(ws => delete ws._keepAliveId); diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js index ed319f72..62cb3f8c 100644 --- a/extensions/native-window-placement/extension.js +++ b/extensions/native-window-placement/extension.js @@ -110,7 +110,7 @@ class NaturalLayoutStrategy extends Workspace.LayoutStrategy { for (let i = 0; i < rects.length; i++) { for (let j = 0; j < rects.length; j++) { let adjustments = [-1, -1, 1, 1] - .map(v => v *= WINDOW_PLACEMENT_NATURAL_GAPS); + .map(v => (v *= WINDOW_PLACEMENT_NATURAL_GAPS)); let iAdjusted = rects[i].adjusted(...adjustments); let jAdjusted = rects[j].adjusted(...adjustments); if (i != j && iAdjusted.overlap(jAdjusted)) { diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 5e13b9e3..f7f64d03 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -849,7 +849,7 @@ const WindowList = GObject.registerClass({ }); this._windowList.reactive = visible; - this._windowList.get_children().forEach(c => c.reactive = visible); + this._windowList.get_children().forEach(c => (c.reactive = visible)); } _getPreferredUngroupedWindowListWidth() {