mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 08:58:13 +01:00
lets try this
This commit is contained in:
parent
2349a5f67f
commit
284ca61bb9
1 changed files with 2 additions and 2 deletions
|
@ -3235,10 +3235,10 @@ function resumeProgress() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentOpacity === 1) {
|
if (currentOpacity === 1) {
|
||||||
element.style.transition = 'opacity 0.2s ease'; // Adjust the duration as needed
|
element.style.transition = 'opacity 3s ease'; // Adjust the duration as needed
|
||||||
element.style.opacity = 0;
|
element.style.opacity = 0;
|
||||||
} else {
|
} else {
|
||||||
element.style.transition = 'opacity 0.2s ease'; // Adjust the duration as needed
|
element.style.transition = 'opacity 3s ease'; // Adjust the duration as needed
|
||||||
element.style.opacity = 1;
|
element.style.opacity = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue