From 1c4551522db61b34d867aaecc153301d92890c57 Mon Sep 17 00:00:00 2001 From: AdenKoperczak Date: Mon, 9 Dec 2024 18:49:23 -0500 Subject: [PATCH] fix formatting issues in inverted threshold code --- scwx-qt/source/scwx/qt/gl/draw/placefile_text.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scwx-qt/source/scwx/qt/gl/draw/placefile_text.cpp b/scwx-qt/source/scwx/qt/gl/draw/placefile_text.cpp index df4f650e..087f90d7 100644 --- a/scwx-qt/source/scwx/qt/gl/draw/placefile_text.cpp +++ b/scwx-qt/source/scwx/qt/gl/draw/placefile_text.cpp @@ -136,8 +136,9 @@ void PlacefileText::Impl::RenderTextDrawItem( std::chrono::system_clock::now() : selectedTime_; - const bool thresholdMet = mapDistance_ <= di->threshold_ || - ((double)di->threshold_ < 0.0 && mapDistance_ >= -(di->threshold_)); + const bool thresholdMet = + mapDistance_ <= di->threshold_ || + ((double) di->threshold_ < 0.0 && mapDistance_ >= -(di->threshold_)); if ((!thresholded_ || thresholdMet) && (di->startTime_ == std::chrono::system_clock::time_point {} ||