Merge pull request #5345 from deathbeam/fix-bottom-right-snap-corner
Make bottom-right snap corner not account for chatbox
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