Remove animation attribute when not animating and enhance toolbar color mixing logic for dark mode

This commit is contained in:
mr. M
2024-12-17 21:39:22 +01:00
parent a1cef01c22
commit 848091097e
2 changed files with 9 additions and 1 deletions

View File

@@ -179,6 +179,8 @@ var gZenCompactModeManager = {
});
}, 400);
});
} else {
this.sidebar.removeAttribute("animate"); // remove the attribute if we are not animating
}
});
},