no-bug: Optimize rendering for glance animation and other components (gh-12888)

This commit is contained in:
mr. m
2026-03-23 01:05:31 +01:00
committed by GitHub
parent 40e10521d5
commit 126d7b1c15
5 changed files with 0 additions and 9 deletions

View File

@@ -566,7 +566,6 @@
transition: transform 0.12s ease-in-out;
box-sizing: border-box;
will-change: transform;
}
&.active {

View File

@@ -107,8 +107,6 @@
box-shadow: none !important;
visibility: inherit;
z-index: 1;
/* Hint compositor to optimize animations and scrolling */
will-change: transform, opacity, filter;
:root[zen-no-padding="true"] & {
--zen-native-inner-radius: 0px;
@@ -120,8 +118,6 @@
top: 0;
left: 0;
flex: unset !important;
/* Promote to its own layer during transitions to reduce jank */
will-change: transform, top, left;
width: 85%;
height: 100%;
@@ -173,7 +169,6 @@
top: 0%;
left: 50%;
translate: -50% 0%;
will-change: transform, opacity;
background: rgba(255, 255, 255, 0.1);
& image {

View File

@@ -308,7 +308,6 @@
/* mark: workspace element */
zen-workspace {
will-change: transform;
flex-direction: column;
transition: padding-top 0.1s;
width: calc(100% + var(--zen-toolbox-padding) * 2);

View File

@@ -211,7 +211,6 @@
border-radius: var(--zen-native-inner-radius);
box-shadow: var(--zen-big-shadow);
overflow: hidden;
will-change: width, margin-left;
&[side="top"],
&[side="bottom"] {

View File

@@ -16,7 +16,6 @@ z-index: 1;
@media -moz-pref('zen.view.hide-window-controls') {
transition: height var(--zen-hidden-toolbar-transition), opacity var(--zen-hidden-toolbar-transition);
will-change: height, opacity;
transition-delay: 0.2s;
overflow: clip;