From bbdf4932e34f26e229f43e5a19082bcd1a4708bf Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sat, 29 Jul 2023 15:16:07 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B7=B1=E8=89=B2=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E7=A1=AC=E4=BB=B6=E5=8A=A0=E9=80=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/functions/web.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/functions/web.js b/resources/assets/js/functions/web.js index 7c5fa566e..552b01eaa 100755 --- a/resources/assets/js/functions/web.js +++ b/resources/assets/js/functions/web.js @@ -1218,7 +1218,7 @@ @media screen { html { ${this.utils.defaultFilter()} - transform: translateZ(0); + will-change: transform; } /* Default Reverse rule */ @@ -1238,6 +1238,7 @@ .no-dark-content, .no-dark-before:before { ${this.utils.reverseFilter()} + will-change: transform; } [style*="background:url"] *,