mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:40:05 +00:00
Merge branch 'develop' into feature/radar-smoothing
This commit is contained in:
commit
82ea0dacd3
6 changed files with 157 additions and 6 deletions
|
|
@ -136,7 +136,11 @@ void PlacefileText::Impl::RenderTextDrawItem(
|
|||
std::chrono::system_clock::now() :
|
||||
selectedTime_;
|
||||
|
||||
if ((!thresholded_ || mapDistance_ <= di->threshold_) &&
|
||||
const bool thresholdMet =
|
||||
!thresholded_ || mapDistance_ <= di->threshold_ ||
|
||||
(di->threshold_.value() < 0.0 && mapDistance_ >= -(di->threshold_));
|
||||
|
||||
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