Fix padding for bottom right overlays

This commit is contained in:
Devin
2017-12-16 16:23:52 -08:00
parent 66dad47992
commit ddf9ee89e7

View File

@@ -228,7 +228,7 @@ public class OverlayRenderer
bottomLeftPoint.x += dimension.width + (dimension.width == 0 ? 0 : PADDING);
break;
case BOTTOM_RIGHT:
bottomRightPoint.x -= dimension.width - (dimension.width == 0 ? 0 : PADDING);
bottomRightPoint.x -= dimension.width + (dimension.width == 0 ? 0 : PADDING);
break;
case TOP_LEFT:
topLeftPoint.y += dimension.height + (dimension.height == 0 ? 0 : PADDING);