-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I used this color array:
colors: [
'#6D1600', '#6F1D00', '#722400', '#742C00', '#763500', '#793D00', '#7B4600', '#7D4F00', '#805800', '#826200', '#846C00', '#877600', '#898000',
'#8B8B00', '#858E00', '#7F9000', '#789200', '#719500', '#699700', '#619900', '#599C00', '#519E00', '#48A100', '#3FA300', '#36A500', '#2CA800',
'#23AA00', '#18AC00', '#0EAF00', '#03B100', '#00B307', '#00B612', '#00B81D', '#00BA29', '#00BD35', '#00BF42', '#00C14E', '#00C45B', '#00C669',
'#00C876', '#00CB84', '#00CD92', '#00D0A1', '#00D2AF', '#00D4BE', '#00D7CE', '#00D5D9', '#00C9DB', '#00BEDE', '#00B2E0', '#00A6E2', '#009AE5',
'#008DE7', '#0080E9', '#0073EC', '#0066EE', '#0058F0', '#004AF3', '#003CF5', '#002DF7', '#001EFA', '#000FFC', '#0000FF'],
There was an exception in getGradientColor function when iIndex1 was equal to 65 while the array length is 63.
To fix it by adding this line:
if (iIndex > colors.length - 1) { iIndex = colors.length - 1; }
After this line:
var iIndex = Math.floor(fIndex);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels