Merge pull request #7375 from deathbeam/fix-size-thingy-canvas
Use client real dimensions for canvasTopRight
This commit is contained in:
@@ -482,7 +482,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(
|
||||||
client.getCanvas().getWidth(),
|
(int)client.getRealDimensions().getWidth(),
|
||||||
0) : topRightPoint;
|
0) : topRightPoint;
|
||||||
|
|
||||||
return new OverlayBounds(
|
return new OverlayBounds(
|
||||||
|
|||||||
Reference in New Issue
Block a user