mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:10:04 +00:00 
			
		
		
		
	Timeline manager live selection time update
This commit is contained in:
		
							parent
							
								
									da835d7226
								
							
						
					
					
						commit
						27ce694df8
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -151,6 +151,18 @@ void TimelineManager::Impl::SelectTime( | ||||||
|       // Nothing to do
 |       // Nothing to do
 | ||||||
|       return; |       return; | ||||||
|    } |    } | ||||||
|  |    else if (selectedTime == std::chrono::system_clock::time_point {}) | ||||||
|  |    { | ||||||
|  |       // If a default time point is given, reset to a live view
 | ||||||
|  |       selectedTime_ = selectedTime; | ||||||
|  |       adjustedTime_ = selectedTime; | ||||||
|  | 
 | ||||||
|  |       logger_->debug("Time updated: Live"); | ||||||
|  | 
 | ||||||
|  |       emit self_->TimeUpdated(selectedTime); | ||||||
|  | 
 | ||||||
|  |       return; | ||||||
|  |    } | ||||||
| 
 | 
 | ||||||
|    scwx::util::async( |    scwx::util::async( | ||||||
|       [=, this]() |       [=, this]() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat