[gnome-shell-extensions] native-window-placement: Fix weird comment styles



commit c721121a2d43adf66b1f988164c40117b0e754a5
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Aug 7 04:57:56 2019 +0200

    native-window-placement: Fix weird comment styles
    
    Don't use gtk-doc style comments for regular comments, and WTF is
    /// comment ////?!
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/91

 extensions/native-window-placement/extension.js | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js
index 04ad250..110fe28 100644
--- a/extensions/native-window-placement/extension.js
+++ b/extensions/native-window-placement/extension.js
@@ -13,9 +13,7 @@ class Rect {
         [this.x, this.y, this.width, this.height] = [x, y, width, height];
     }
 
-    /**
-     * used in _calculateWindowTransformationsNatural to replace Meta.Rectangle that is too slow.
-     */
+    // used in _calculateWindowTransformationsNatural to replace Meta.Rectangle that is too slow.
     copy() {
         return new Rect(this.x, this.y, this.width, this.height);
     }
@@ -74,7 +72,7 @@ class NaturalLayoutStrategy extends Workspace.LayoutStrategy {
         layout.windows = windows;
     }
 
-    /**
+    /*
      * Returns clones with matching target coordinates and scales to arrange windows in a natural way that 
no overlap exists and relative window size is preserved.
      * This function is almost a 1:1 copy of the function
      * PresentWindowsEffect::calculateWindowTransformationsNatural() from KDE, see:
@@ -252,7 +250,7 @@ function enable() {
         return layout;
     };
 
-    /// position window titles on top of windows in overlay ////
+    // position window titles on top of windows in overlay
     winInjections['relayout'] = Workspace.WindowOverlay.prototype.relayout;
     Workspace.WindowOverlay.prototype.relayout = function(animate) {
         if (settings.get_boolean('window-captions-on-top')) {


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