MCPcopy Create free account
hub / github.com/adobe/leonardo / middleKey

Method middleKey

docs/ui/src/js/initialDivergingScale.js:98–110  ·  view source on GitHub ↗
(color)

Source from the content-addressed store, hash-verified

96 }
97
98 set middleKey(color) {
99 this._middleKey = color;
100 this._startScale.colorKeys = [...this._startKeys, color];
101 this._endScale.colorKeys = [...this._endKeys, color];
102
103 this._colorKeys = null;
104 this._colorKeys = this._combineColorKeys();
105
106 this._colors = null;
107 this._colors = this._createColorScale();
108
109 this._domains = this._getDomains();
110 }
111
112 get middleKey() {
113 return this._middleKey;

Callers

nothing calls this directly

Calls 3

_combineColorKeysMethod · 0.95
_createColorScaleMethod · 0.95
_getDomainsMethod · 0.95

Tested by

no test coverage detected