shifting wrap around logic back into 0-265

This commit is contained in:
akemidx 2023-11-07 17:43:51 -05:00
parent 92c7de3fb5
commit 154e71de74

View file

@ -349,7 +349,7 @@ class Helper
$total_colors = count($colors);
if ($index >= $total_colors) {
$index = $index - $total_colors;
$index = $index - $total_colors - 1;
}
return $colors[$index];