@dra2020/baseclient 1.0.79 → 1.0.82

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];
@@ -457,6 +460,7 @@ function getColorTable(palette) {
457
460
  ColorTable[palette].push(exports.EthnicBackgroundColor[i]);
458
461
  return ColorTable[palette];
459
462
  }
463
+ return ColorTable[palette];
460
464
  }
461
465
  if (allPaletteNames.includes(palette)) {
462
466
  if (!ColorTable[palette])