Use client real dimensions for canvasTopRight
Closes #7374 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
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