feat: Fixed grainy disappearing when swiping, b=no-bug, c=workspaces

This commit is contained in:
mr. m
2025-09-13 19:55:03 +02:00
parent fa956540ae
commit d5cd9a0e1b

View File

@@ -1808,7 +1808,9 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
const grainValue =
minGrain +
(maxGrain - minGrain) * (existingGrain > nextGrain ? 1 - percentage : percentage);
gZenThemePicker.updateNoise(grainValue);
if (!this._inChangingWorkspace) {
gZenThemePicker.updateNoise(grainValue);
}
}
} else {
delete this._hasAnimatedBackgrounds;