[gnome-shell] workspace: Update bg border radius in constructor
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-shell] workspace: Update bg border radius in constructor
- Date: Wed,  1 Sep 2021 11:07:21 +0000 (UTC)
commit b21b43e318006ae1848457b3f079b6bfae491757
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Mon Aug 16 10:00:51 2021 +0300
    workspace: Update bg border radius in constructor
    
    Otherwise non-zero initial value of stateAdjustment will produce
    incorrect radius.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1964>
 js/ui/workspace.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index afdde824e1..79d6cf146b 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -962,6 +962,8 @@ class WorkspaceBackground extends St.Widget {
             });
         this._updateRoundedClipBounds();
 
+        this._updateBorderRadius();
+
         this.connect('destroy', this._onDestroy.bind(this));
     }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]