mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Fix some minor style issues with inverted threshold code
This commit is contained in:
		
							parent
							
								
									1c4551522d
								
							
						
					
					
						commit
						10aabce3a1
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -137,10 +137,10 @@ void PlacefileText::Impl::RenderTextDrawItem( | |||
|          selectedTime_; | ||||
| 
 | ||||
|    const bool thresholdMet = | ||||
|       mapDistance_ <= di->threshold_ || | ||||
|       ((double) di->threshold_ < 0.0 && mapDistance_ >= -(di->threshold_)); | ||||
|       !thresholded_ || mapDistance_ <= di->threshold_ || | ||||
|       (di->threshold_.value() < 0.0 && mapDistance_ >= -(di->threshold_)); | ||||
| 
 | ||||
|    if ((!thresholded_ || thresholdMet) && | ||||
|    if (thresholdMet && | ||||
|        (di->startTime_ == std::chrono::system_clock::time_point {} || | ||||
|         (di->startTime_ <= selectedTime && selectedTime < di->endTime_))) | ||||
|    { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak