Fix formatting inconsistencies in ZenGlanceManager for improved code clarity

This commit is contained in:
mr. M
2025-01-21 21:32:48 +01:00
parent 4c44f874b9
commit 6c7b15eeca

View File

@@ -115,8 +115,8 @@
this.overlay.removeAttribute('fade-out');
this.browserWrapper.setAttribute('animate', true);
this.browserWrapper.style.top = `${initialY + initialHeight/2}px`;
this.browserWrapper.style.left = `${initialX + initialWidth/2}px`;
this.browserWrapper.style.top = `${initialY + initialHeight / 2}px`;
this.browserWrapper.style.left = `${initialX + initialWidth / 2}px`;
this.browserWrapper.style.width = `${initialWidth}px`;
this.browserWrapper.style.height = `${initialHeight}px`;
this.browserWrapper.style.opacity = 0.8;
@@ -132,7 +132,7 @@
opacity: 1,
},
{
duration: .4,
duration: 0.4,
type: 'spring',
bounce: 0.2,
}