chore: reduce screenshot delay
This commit is contained in:
parent
9932faef6a
commit
02a81bea77
@ -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 {
|
||||||
|
|||||||
@ -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 = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user