Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Nov 7, 2024
1 parent 0fb0d4a commit 5ebe9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hist2d/TGraphPainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ class TGraphPainter extends ObjectPainter {
rect = { x1: -5, x2: 5, y1: -5, y2: 5 };

const matchx = (pnt.x >= d.grx1 + rect.x1) && (pnt.x <= d.grx1 + rect.x2),
matchy = (pnt.y >= d.gry1 + rect.y1) && (pnt.y <= d.gry1 + rect.y2);
matchy = (pnt.y >= d.gry1 + rect.y1) && (pnt.y <= d.gry1 + rect.y2);

if (matchx && (matchy || (pnt.nproc > 1))) {
best_dist2 = dist2;
Expand Down

0 comments on commit 5ebe9c6

Please sign in to comment.