chore: reduce screenshot delay

This commit is contained in:
Alexander Medvedev 2026-04-26 10:37:59 +02:00
parent 9932faef6a
commit 02a81bea77
2 changed files with 3 additions and 3 deletions

View File

@ -1001,7 +1001,7 @@ h3 {
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
display: block; 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 { .plugin-card-v2:hover .pcv2-preview-img {

View File

@ -70,8 +70,8 @@ const PluginCard = ({ plugin }: { plugin: any }) => {
timerRef.current = setTimeout(() => { timerRef.current = setTimeout(() => {
cycleRef.current = setInterval(() => { cycleRef.current = setInterval(() => {
setCurrentIndex(prev => (prev + 1) % slideshowImages.length); setCurrentIndex(prev => (prev + 1) % slideshowImages.length);
}, 3000); }, 2000);
}, 500); }, 200);
}; };
const stopHover = () => { const stopHover = () => {