Merge pull request #7375 from deathbeam/fix-size-thingy-canvas

Use client real dimensions for canvasTopRight
This commit is contained in:
Tomas Slusny
2019-01-16 20:11:44 +01:00
committed by GitHub

View File

@@ -482,7 +482,7 @@ public class OverlayRenderer extends MouseAdapter implements KeyListener
bottomLeftPoint.y) : bottomRightPoint;
final Point canvasTopRightPoint = isResizeable ? new Point(
client.getCanvas().getWidth(),
(int)client.getRealDimensions().getWidth(),
0) : topRightPoint;
return new OverlayBounds(