shifting wrap around logic back into 0-265
This commit is contained in:
parent
92c7de3fb5
commit
154e71de74
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue