[gnome-shell-extensions] native-window-placement: Reindent to conform with new style



commit e56f1a976ea2aaad73904442acae3edfcc7020ef
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Mar 3 02:22:54 2019 +0100

    native-window-placement: Reindent to conform with new style
    
    Instead of aligning arguments like we used to do, use a consistent
    four-space indent as mandated by gjs' current style guide.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66

 extensions/native-window-placement/extension.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js
index 8a8b093..608c1f6 100644
--- a/extensions/native-window-placement/extension.js
+++ b/extensions/native-window-placement/extension.js
@@ -203,9 +203,10 @@ class NaturalLayoutStrategy extends Workspace.LayoutStrategy {
 
         // Work out scaling by getting the most top-left and most bottom-right window coords.
         let scale;
-        scale = Math.min(areaRect.width / bounds.width,
-                         areaRect.height / bounds.height,
-                         1.0);
+        scale = Math.min(
+            areaRect.width / bounds.width,
+            areaRect.height / bounds.height,
+            1.0);
 
         // Make bounding rect fill the screen size for later steps
         bounds.x = bounds.x - (areaRect.width - bounds.width * scale) / 2;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]