Make bottom-right snap corner not account for chatbox
Make bottom-right snap corner not account for chatbox being opened or not. Closes #5344 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -456,16 +456,16 @@ public class OverlayRenderer extends MouseListener implements KeyListener
|
||||
topLeftPoint.x,
|
||||
viewportOffset + viewportBounds.height - BORDER);
|
||||
|
||||
final Point bottomRightPoint = new Point(
|
||||
topRightPoint.x,
|
||||
bottomLeftPoint.y);
|
||||
|
||||
// Check to see if chat box is minimized
|
||||
if (isResizeable && chatboxHidden)
|
||||
{
|
||||
bottomLeftPoint.y += chatboxBounds.height;
|
||||
}
|
||||
|
||||
final Point bottomRightPoint = new Point(
|
||||
topRightPoint.x,
|
||||
bottomLeftPoint.y);
|
||||
|
||||
final Point rightChatboxPoint = isResizeable ? new Point(
|
||||
viewportOffset + chatboxBounds.width - BORDER,
|
||||
bottomLeftPoint.y) : bottomRightPoint;
|
||||
|
||||
Reference in New Issue
Block a user