mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 22:09:59 +02:00
Refactor ZenGradientGenerator to exclude workspaces without gradients
This commit is contained in:
parent
2572fb55f6
commit
b2f80fb7e1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
currentRotation = 45;
|
||||
|
||||
init() {
|
||||
if (!Services.prefs.getBoolPref('zen.theme.gradient', true)) {
|
||||
if (!Services.prefs.getBoolPref('zen.theme.gradient', true) || !ZenWorkspaces.shouldHaveWorkspaces) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue