Skip to content

Commit

Permalink
Display fulfillment as validation color instead of detction result
Browse files Browse the repository at this point in the history
  • Loading branch information
Nain57 committed Nov 23, 2024
1 parent 5828dd3 commit 3dcacea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class TryElementViewModel @Inject constructor(
val halfHeight = condition.area.height() / 2

return DetectionResultInfo(
positive = haveBeenDetected,
positive = isFulfilled,
coordinates =
if (position.x == 0 && position.y == 0) Rect()
else Rect(
Expand Down

0 comments on commit 3dcacea

Please sign in to comment.