mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:20:05 +00:00 
			
		
		
		
	Do not display an elevation number when there is non
This commit is contained in:
		
							parent
							
								
									484c08c455
								
							
						
					
					
						commit
						24f5f0a3e3
					
				
					 12 changed files with 166 additions and 145 deletions
				
			
		|  | @ -615,7 +615,7 @@ common::Level3ProductCategoryMap MapWidget::GetAvailableLevel3Categories() | |||
|    } | ||||
| } | ||||
| 
 | ||||
| float MapWidget::GetElevation() const | ||||
| std::optional<float> MapWidget::GetElevation() const | ||||
| { | ||||
|    auto radarProductView = p->context_->radar_product_view(); | ||||
| 
 | ||||
|  | @ -625,7 +625,7 @@ float MapWidget::GetElevation() const | |||
|    } | ||||
|    else | ||||
|    { | ||||
|       return 0.0f; | ||||
|       return {}; | ||||
|    } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak