From 923a5f565a4b8e9197be8bd4fb9997c26635643e Mon Sep 17 00:00:00 2001 From: abdroos Date: Wed, 21 Aug 2024 14:11:01 +0300 Subject: [PATCH] fix: fix unexpected loading --- components/Landing/Header.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Landing/Header.vue b/components/Landing/Header.vue index 0c6b98b3..8e44f7e4 100644 --- a/components/Landing/Header.vue +++ b/components/Landing/Header.vue @@ -50,7 +50,8 @@ onMounted(() => { // Load the Spline 3D scene from the provided URL app.load('https://prod.spline.design/rah9TcbBELz5h1ps/scene.splinecode'); - canvas.style.willChange = 'transform'; // Hint for GPU acceleration + canvas.style.willChange = 'transform, opacity'; + canvas.style.transform = 'translateZ(0)'; /* |--------------------------------------------------------------------------