mirror of
https://github.com/RobinRMC/VencordPlus.git
synced 2025-05-11 18:05:39 +02:00
ImageZoom: Fix for animated WebP images (#3407)
This commit is contained in:
parent
838a90831f
commit
bebf3dd068
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ export const Magnifier = ErrorBoundary.wrap<MagnifierProps>(({ instance, size: i
|
||||||
}}
|
}}
|
||||||
width={`${box.width * zoom.current}px`}
|
width={`${box.width * zoom.current}px`}
|
||||||
height={`${box.height * zoom.current}px`}
|
height={`${box.height * zoom.current}px`}
|
||||||
src={instance.props.src}
|
src={instance.props.src + "?animated=true"}
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue