@dra2020/baseclient 1.0.80 → 1.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -407,7 +407,10 @@ function orderedColors(palette) {
407
407
  if (!OrderedColorTable[palette]) {
408
408
  OrderedColorTable[palette] = [];
409
409
  for (let i = 0; i < exports.MaxColors; i++) {
410
- OrderedColorTable[palette].push(colors[DistrictsColorOrder[i] * 3]);
410
+ if (palette === 'jet_r' || palette === 'turbo_r')
411
+ OrderedColorTable[palette].push(colors[Math.floor(DistrictsColorOrder[i] * 2.5) + 12]);
412
+ else
413
+ OrderedColorTable[palette].push(colors[DistrictsColorOrder[i] * 3]);
411
414
  }
412
415
  }
413
416
  return OrderedColorTable[palette];