MCPcopy
hub / github.com/opentrace/opentrace / resetCamera

Method resetCamera

ui/src/components/pixi/PixiRenderer.ts:2461–2465  ·  view source on GitHub ↗
(duration = 300)

Source from the content-addressed store, hash-verified

2459 }
2460
2461 resetCamera(duration = 300): void {
2462 // Explicit "Reset View" re-enables auto-fit for subsequent data changes.
2463 this.hasUserMovedCamera = false;
2464 this.zoomToFit(duration);
2465 }
2466
2467 // ─── Interaction Setup ────────────────────────────────────────────
2468

Callers 5

AppInnerFunction · 0.80
GraphControlsBarFunction · 0.80
GraphViewer.tsxFile · 0.80
useGraphViewerFunction · 0.80

Calls 1

zoomToFitMethod · 0.95

Tested by

no test coverage detected