|  |  |  | @ -11,7 +11,7 @@ MapETA::MapETA(QWidget *parent) : QWidget(parent) { | 
			
		
	
		
			
				
					|  |  |  |  |   setVisible(false); | 
			
		
	
		
			
				
					|  |  |  |  |   setAttribute(Qt::WA_TranslucentBackground); | 
			
		
	
		
			
				
					|  |  |  |  |   eta_doc.setUndoRedoEnabled(false); | 
			
		
	
		
			
				
					|  |  |  |  |   eta_doc.setDefaultStyleSheet("body {font-family:Inter;font-size:60px;color:white;} b{font-size:70px;font-weight:600}"); | 
			
		
	
		
			
				
					|  |  |  |  |   eta_doc.setDefaultStyleSheet("body {font-family:Inter;font-size:70px;color:white;} b{font-weight:600;} td{padding:0 3px;}"); | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | void MapETA::paintEvent(QPaintEvent *event) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -47,7 +47,9 @@ void MapETA::updateETA(float s, float s_typical, float d) { | 
			
		
	
		
			
				
					|  |  |  |  |   auto distance = std::array{QString::number(num, 'f', num < 100 ? 1 : 0), | 
			
		
	
		
			
				
					|  |  |  |  |                              uiState()->scene.is_metric ? tr("km") : tr("mi")}; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   eta_doc.setHtml(QString(R"(<body><b>%1</b>%2 <span style="color:%3"><b>%4</b>%5</span> <b>%6</b>%7</body>)") | 
			
		
	
		
			
				
					|  |  |  |  |   eta_doc.setHtml(QString(R"(<body><table><tr><td><b>%1</b></td><td>%2</td> | 
			
		
	
		
			
				
					|  |  |  |  |                              <td style="padding-left:40px;color:%3;"><b>%4</b></td><td style="padding-right:40px;color:%3;">%5</td> | 
			
		
	
		
			
				
					|  |  |  |  |                              <td><b>%6</b></td><td>%7</td></tr></body>)") | 
			
		
	
		
			
				
					|  |  |  |  |                       .arg(eta[0], eta[1], color, remaining[0], remaining[1], distance[0], distance[1])); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   setVisible(d >= MANEUVER_TRANSITION_THRESHOLD); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |