Skip to content

Commit

Permalink
Fixed wrong positioning of tooltip when PP is running on secondary sc…
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkelDok authored and buchen committed Nov 4, 2023
1 parent df77f7e commit e9f660f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@ private Rectangle calculateBounds(Event event, Point size)
Point pt = getPlotArea().toDisplay(x, event.y);
// show above
int y = pt.y - size.y - PADDING;
if (y < PADDING)
y = PADDING;

return new Rectangle(pt.x, y, size.x, size.y);
}
Expand Down

0 comments on commit e9f660f

Please sign in to comment.