Skip to content

Commit

Permalink
minor tooltip fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akmsw committed Jun 24, 2024
1 parent 152df7b commit b05d185
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ private class CustomToolTipUI extends ToolTipUI {
public void paint(Graphics g, JComponent c) {
Graphics2D g2 = (Graphics2D) g.create();

RoundRectangle2D roundedRect = new RoundRectangle2D.Float(0,
0,
(c.getWidth() - 1),
(c.getHeight() - 1),
RoundRectangle2D roundedRect = new RoundRectangle2D.Float(0, 0, c.getWidth(), c.getHeight(),
Constants.ROUNDED_BORDER_ARC_TOOLTIP,
Constants.ROUNDED_BORDER_ARC_TOOLTIP);

Expand Down

0 comments on commit b05d185

Please sign in to comment.