mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:59: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;
|
currentRotation = 45;
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
if (!Services.prefs.getBoolPref('zen.theme.gradient', true)) {
|
if (!Services.prefs.getBoolPref('zen.theme.gradient', true) || !ZenWorkspaces.shouldHaveWorkspaces) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue