[gnome-shell/gnome-40] workspace: Update bg border radius in constructor
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-40] workspace: Update bg border radius in constructor
- Date: Tue, 21 Sep 2021 18:08:46 +0000 (UTC)
commit 6a5d7e00cc6381be34a90be3fee80682b44d15f7
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.
(cherry picked from commit b21b43e318006ae1848457b3f079b6bfae491757)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1982>
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]