fix: fix transition from png to apng leo
This commit is contained in:
parent
30d1ded4f5
commit
154d869615
@ -50,7 +50,7 @@ function BreathPage(): JSX.Element {
|
||||
if (!data) return;
|
||||
const leoTimeOut = setTimeout(() => {
|
||||
setAsset(data[getRandomArbitrary(0, data?.length || 0)]);
|
||||
}, 10_000);
|
||||
}, 9_000);
|
||||
|
||||
return () => {
|
||||
clearTimeout(leoTimeOut);
|
||||
@ -104,7 +104,7 @@ function BreathPage(): JSX.Element {
|
||||
className={`${styles.page} page`}
|
||||
style={{
|
||||
backgroundImage: `url(${
|
||||
!isOpenModal && !isShowPreview ? asset?.url : "none"
|
||||
!isOpenModal ? asset?.url : "none"
|
||||
})`,
|
||||
}}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user