Skip to content

Commit

Permalink
gs-cv: Field: fixed display issue affecting locked fields (shown in r…
Browse files Browse the repository at this point in the history
…ed instead of light blue)
  • Loading branch information
plassalas committed Nov 17, 2017
1 parent 701c1f8 commit 56eaf84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void resetDeadCounter() {
public void draw(Img display, Mat homography, Scalar color, int thickness) {
Scalar scalar = selectColor(color);
if (needRect())
drawRect(display, getRectPointsWithHomography(homography), deadCounter == 0 ? scalar : new Scalar(0, 0, 255), thickness);
drawRect(display, getRectPointsWithHomography(homography), scalar, thickness);
if (needText())
drawText(display, getRectPointsWithHomography(homography), new Scalar(0, 64, 255), thickness);
}
Expand Down

0 comments on commit 56eaf84

Please sign in to comment.