|  |  | @ -43,11 +43,11 @@ void OnroadWindow::updateState(const UIState &s) { | 
			
		
	
		
		
			
				
					
					|  |  |  |   QColor bgColor = bg_colors[s.status]; |  |  |  |   QColor bgColor = bg_colors[s.status]; | 
			
		
	
		
		
			
				
					
					|  |  |  |   Alert alert = Alert::get(*(s.sm), s.scene.started_frame); |  |  |  |   Alert alert = Alert::get(*(s.sm), s.scene.started_frame); | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (s.sm->updated("controlsState") || !alert.equal({})) { |  |  |  |   if (s.sm->updated("controlsState") || !alert.equal({})) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     if (alert.type == "controlsUnresponsive") { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       bgColor = bg_colors[STATUS_ALERT]; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |     alerts->updateAlert(alert, bgColor); |  |  |  |     alerts->updateAlert(alert, bgColor); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (alert.type == "controlsUnresponsive") { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     bgColor = bg_colors[STATUS_ALERT]; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   if (bg != bgColor) { |  |  |  |   if (bg != bgColor) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     // repaint border
 |  |  |  |     // repaint border
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     bg = bgColor; |  |  |  |     bg = bgColor; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |