[gnome-shell/ewlsh/dead-code: 1/2] workspacesView: Remove some dead code




commit b58ebe708f2c2c9993c8cfaabb221ebebad29bdf
Author: Evan Welsh <contact evanwelsh com>
Date:   Sat Oct 30 15:22:25 2021 -0700

    workspacesView: Remove some dead code
    
    this._scrolling has been unused since commit a11f417cd0f9.

 js/ui/workspacesView.js | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
index 3761881d01..6dad2df3f5 100644
--- a/js/ui/workspacesView.js
+++ b/js/ui/workspacesView.js
@@ -484,9 +484,6 @@ class WorkspacesView extends WorkspacesViewBase {
     }
 
     _activeWorkspaceChanged(_wm, _from, _to, _direction) {
-        if (this._scrolling)
-            return;
-
         this._scrollToActive();
     }
 


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