mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:30:05 +00:00 
			
		
		
		
	When changing products, the time managed by the Timeline Manager should be used
This commit is contained in:
		
							parent
							
								
									aa0dab00a6
								
							
						
					
					
						commit
						d7a3a3ca7b
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -176,6 +176,8 @@ public: | |||
|    std::vector<map::MapWidget*> maps_; | ||||
|    std::vector<float>           elevationCuts_; | ||||
| 
 | ||||
|    std::chrono::system_clock::time_point volumeTime_ {}; | ||||
| 
 | ||||
|    bool elevationButtonsChanged_; | ||||
|    bool resizeElevationButtons_; | ||||
| 
 | ||||
|  | @ -820,6 +822,7 @@ void MainWindowImpl::ConnectAnimationSignals() | |||
|            { | ||||
|               for (auto map : maps_) | ||||
|               { | ||||
|                  volumeTime_ = dateTime; | ||||
|                  map->SelectTime(dateTime); | ||||
|               } | ||||
|            }); | ||||
|  | @ -1009,8 +1012,7 @@ void MainWindowImpl::SelectRadarProduct(map::MapWidget*           mapWidget, | |||
|       UpdateRadarProductSettings(); | ||||
|    } | ||||
| 
 | ||||
|    mapWidget->SelectRadarProduct( | ||||
|       group, productName, productCode, mapWidget->GetSelectedTime()); | ||||
|    mapWidget->SelectRadarProduct(group, productName, productCode, volumeTime_); | ||||
| } | ||||
| 
 | ||||
| void MainWindowImpl::SetActiveMap(map::MapWidget* mapWidget) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat