client: Checkstyle
This commit is contained in:
@@ -369,7 +369,8 @@ public class OverlayRenderer extends MouseAdapter implements KeyListener
|
|||||||
menuEntries = createRightClickMenuEntries(overlay);
|
menuEntries = createRightClickMenuEntries(overlay);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inOverlayManagingMode) {
|
if (inOverlayManagingMode)
|
||||||
|
{
|
||||||
String tooltipText = overlay.getPlugin() == null ? overlay.getName() : overlay.getPlugin().getName();
|
String tooltipText = overlay.getPlugin() == null ? overlay.getName() : overlay.getPlugin().getName();
|
||||||
tooltipManager.add(new Tooltip(tooltipText));
|
tooltipManager.add(new Tooltip(tooltipText));
|
||||||
}
|
}
|
||||||
@@ -503,6 +504,7 @@ public class OverlayRenderer extends MouseAdapter implements KeyListener
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Find an overlay to manage which is under the given mouse point
|
* Find an overlay to manage which is under the given mouse point
|
||||||
|
*
|
||||||
* @param mousePoint
|
* @param mousePoint
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@@ -922,7 +924,7 @@ public class OverlayRenderer extends MouseAdapter implements KeyListener
|
|||||||
bottomLeftPoint.y) : bottomRightPoint;
|
bottomLeftPoint.y) : bottomRightPoint;
|
||||||
|
|
||||||
final Point canvasTopRightPoint = isResizeable ? new Point(
|
final Point canvasTopRightPoint = isResizeable ? new Point(
|
||||||
(int)client.getRealDimensions().getWidth(),
|
(int) client.getRealDimensions().getWidth(),
|
||||||
0) : topRightPoint;
|
0) : topRightPoint;
|
||||||
|
|
||||||
return new OverlayBounds(
|
return new OverlayBounds(
|
||||||
|
|||||||
Reference in New Issue
Block a user