We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f289bab commit 68f3646Copy full SHA for 68f3646
1 file changed
apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/pptx-sandbox-host.tsx
@@ -86,10 +86,10 @@ export const PptxSandboxHost = memo(function PptxSandboxHost({
86
activeContainerRef.current = nextContainer
87
setSlideCount(handle.viewer.slideCount)
88
setCurrentSlide(handle.viewer.currentSlideIndex + 1)
89
- nextContainer.style.visibility = 'visible'
90
if (zoomPercentRef.current !== 100) {
91
await handle.viewer.setZoom(zoomPercentRef.current)
92
}
+ nextContainer.style.visibility = 'visible'
93
previousHandle?.destroy()
94
previousContainer?.remove()
95
onRenderCompleteRef.current?.()
0 commit comments