MCPcopy Index your code
hub / github.com/simstudioai/sim / setFitMode

Method setFitMode

apps/sim/lib/pptx-renderer/core/viewer.ts:312–319  ·  view source on GitHub ↗
(mode: FitMode)

Source from the content-addressed store, hash-verified

310 }
311
312 async setFitMode(mode: FitMode): Promise<void> {
313 if (this._fitMode === mode) return
314 this._fitMode = mode
315 if (mode === 'none') {
316 this.lastMeasuredContainerWidth = 0
317 }
318 await this.queueRender()
319 }
320
321 // -----------------------------------------------------------------------
322 // Getters

Callers

nothing calls this directly

Calls 1

queueRenderMethod · 0.95

Tested by

no test coverage detected