Fix padding for bottom right overlays
This commit is contained in:
@@ -228,7 +228,7 @@ public class OverlayRenderer
|
|||||||
bottomLeftPoint.x += dimension.width + (dimension.width == 0 ? 0 : PADDING);
|
bottomLeftPoint.x += dimension.width + (dimension.width == 0 ? 0 : PADDING);
|
||||||
break;
|
break;
|
||||||
case BOTTOM_RIGHT:
|
case BOTTOM_RIGHT:
|
||||||
bottomRightPoint.x -= dimension.width - (dimension.width == 0 ? 0 : PADDING);
|
bottomRightPoint.x -= dimension.width + (dimension.width == 0 ? 0 : PADDING);
|
||||||
break;
|
break;
|
||||||
case TOP_LEFT:
|
case TOP_LEFT:
|
||||||
topLeftPoint.y += dimension.height + (dimension.height == 0 ? 0 : PADDING);
|
topLeftPoint.y += dimension.height + (dimension.height == 0 ? 0 : PADDING);
|
||||||
|
|||||||
Reference in New Issue
Block a user