MCPcopy Create free account
hub / github.com/DFin/palaeograph / setLabelScaleFactor

Method setLabelScaleFactor

src/sceneManager.js:869–874  ·  view source on GitHub ↗
(factor)

Source from the content-addressed store, hash-verified

867 }
868
869 setLabelScaleFactor(factor) {
870 this.labelScaleFactor = Math.max(0, factor);
871 if (this.lastBounds && this.lastRawExtents) {
872 this.updateGridLabels(this.lastBounds, this.lastRawExtents, this.lastFlipOptions, this.labelScaleFactor);
873 }
874 }
875}

Callers 2

syncLabelScaleControlsFunction · 0.80
main.jsFile · 0.80

Calls 1

updateGridLabelsMethod · 0.95

Tested by

no test coverage detected