From b843221730bc8e432bc785f30734b89140c4449f Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Tue, 21 Nov 2023 14:43:00 +0000 Subject: [PATCH] Loading screen: Ensure bounce animation isn't blocked by main thread (#78469) remove transform-origin to ensure animation gets put on compositor thread --- public/views/index-template.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/public/views/index-template.html b/public/views/index-template.html index 77f030a9de5..4dcedf41ecd 100644 --- a/public/views/index-template.html +++ b/public/views/index-template.html @@ -120,26 +120,21 @@ 0% { transform: scaleX(1.3) scaleY(0.8); animation-timing-function: cubic-bezier(0.3, 0, 0.1, 1); - transform-origin: bottom center; } 15% { transform: scaleX(0.75) scaleY(1.25); animation-timing-function: cubic-bezier(0, 0, 0.7, 0.75); - transform-origin: bottom center; } 55% { transform: scaleX(1.05) scaleY(0.95); animation-timing-function: cubic-bezier(0.9, 0, 1, 1); - transform-origin: top center; } 95% { transform: scaleX(0.75) scaleY(1.25); animation-timing-function: cubic-bezier(0, 0, 0, 1); - transform-origin: bottom center; } 100% { transform: scaleX(1.3) scaleY(0.8); - transform-origin: bottom center; animation-timing-function: cubic-bezier(0, 0, 0.7, 1); } }