MCPcopy
hub / github.com/opentrace/opentrace / setLabelScale

Method setLabelScale

ui/src/components/pixi/PixiRenderer.ts:1620–1623  ·  view source on GitHub ↗
(scale: number)

Source from the content-addressed store, hash-verified

1618 }
1619
1620 setLabelScale(scale: number): void {
1621 this.labelScaleMultiplier = Math.max(0.1, Math.min(3, scale));
1622 this.applyCounterScale();
1623 }
1624
1625 getLabelScale(): number {
1626 return this.labelScaleMultiplier;

Callers 3

PhysicsPanelContainerFunction · 0.80
GraphViewer.tsxFile · 0.80

Calls 1

applyCounterScaleMethod · 0.95

Tested by

no test coverage detected