fix: Fixed starting styles for glance buttons, b=(no-bug), c=glance

This commit is contained in:
mr. m
2025-05-05 12:06:05 +02:00
parent c9d8623e4a
commit ef3b61ded7

View File

@@ -119,6 +119,9 @@
showSidebarButtons(animate = false) {
if (this.sidebarButtons.hasAttribute('hidden') && animate) {
for (const button of this.sidebarButtons.querySelectorAll('toolbarbutton')) {
button.style.opacity = 0;
}
gZenUIManager.motion.animate(
this.sidebarButtons.querySelectorAll('toolbarbutton'),
{ x: [50, 0], opacity: [0, 1] },