fix color index
This commit is contained in:
		
							parent
							
								
									eb0236195d
								
							
						
					
					
						commit
						f3534eb17e
					
				
							
								
								
									
										2
									
								
								main.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.js
									
									
									
									
									
								
							| @ -2485,7 +2485,7 @@ | ||||
|           let category = points[getCpNumberFromOption(option)].categories.find(category => category.cat_id === catId) | ||||
|           if (category && category.pivot.bonus_time == "0") { | ||||
|             let stage = parseInt(category.pivot.stage) | ||||
|             option.style['background-color'] = stageColors[stage % stageColors.length] | ||||
|             option.style['background-color'] = stageColors[stage % stageColors.length - 1] | ||||
|           }  | ||||
|         } | ||||
|       })() | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user