mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	Fix level 2 display
This commit is contained in:
		
							parent
							
								
									b18491b2a0
								
							
						
					
					
						commit
						1b49e317e4
					
				
					 7 changed files with 96 additions and 18 deletions
				
			
		|  | @ -316,6 +316,21 @@ std::shared_ptr<config::RadarSite> MapWidget::GetRadarSite() const | |||
|    return radarSite; | ||||
| } | ||||
| 
 | ||||
| std::chrono::system_clock::time_point MapWidget::GetSelectedTime() const | ||||
| { | ||||
|    auto radarProductView = p->context_->radar_product_view(); | ||||
|    std::chrono::system_clock::time_point time; | ||||
| 
 | ||||
|    // If there is an active radar product view
 | ||||
|    if (radarProductView != nullptr) | ||||
|    { | ||||
|       // Select the time associated with the active radar product
 | ||||
|       time = radarProductView->GetSelectedTime(); | ||||
|    } | ||||
| 
 | ||||
|    return time; | ||||
| } | ||||
| 
 | ||||
| std::uint16_t MapWidget::GetVcp() const | ||||
| { | ||||
|    auto radarProductView = p->context_->radar_product_view(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat