From 02a81bea770266bccdf766d657a65b207fc6479a Mon Sep 17 00:00:00 2001 From: Alexander Medvedev Date: Sun, 26 Apr 2026 10:37:59 +0200 Subject: [PATCH] chore: reduce screenshot delay --- src/App.css | 2 +- src/components/PluginCard.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.css b/src/App.css index d1b0246..dffe01e 100644 --- a/src/App.css +++ b/src/App.css @@ -1001,7 +1001,7 @@ h3 { height: 100%; object-fit: cover; display: block; - transition: transform 0.35s ease, opacity 0.4s ease-in-out; + transition: transform 0.35s ease, opacity 0.3s ease-in-out; } .plugin-card-v2:hover .pcv2-preview-img { diff --git a/src/components/PluginCard.tsx b/src/components/PluginCard.tsx index d59461d..bc747eb 100644 --- a/src/components/PluginCard.tsx +++ b/src/components/PluginCard.tsx @@ -70,8 +70,8 @@ const PluginCard = ({ plugin }: { plugin: any }) => { timerRef.current = setTimeout(() => { cycleRef.current = setInterval(() => { setCurrentIndex(prev => (prev + 1) % slideshowImages.length); - }, 3000); - }, 500); + }, 2000); + }, 200); }; const stopHover = () => {