feat: Small details before release, b=no-bug, c=common, split-view, workspaces

This commit is contained in:
mr. m
2025-06-29 11:01:25 +02:00
parent b0ab43d19d
commit f680b4592b
5 changed files with 15 additions and 4 deletions

View File

@@ -1779,11 +1779,17 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
if (previousBackgroundOpacity == 1 || !previousBackgroundOpacity) {
previousBackgroundOpacity = 0;
} else {
previousBackgroundOpacity = 1 - previousBackgroundOpacity;
}
previousBackgroundOpacity = 1 - previousBackgroundOpacity;
previousBackgroundOpacity = previousBackgroundOpacity;
gZenThemePicker.previousBackgroundOpacity = previousBackgroundOpacity;
await new Promise((resolve) => {
requestAnimationFrame(() => {
document.documentElement.style.setProperty(
'--zen-background-opacity',
previousBackgroundOpacity
);
animations.push(
gZenUIManager.motion.animate(
document.documentElement,