Fix overlays not being rendered
This commit is contained in:
@@ -264,7 +264,7 @@ public class OverlayRenderer
|
|||||||
final Dimension dimension = MoreObjects.firstNonNull(safeRender(overlay, surfaceGraphics, subPosition), new Dimension());
|
final Dimension dimension = MoreObjects.firstNonNull(safeRender(overlay, surfaceGraphics, subPosition), new Dimension());
|
||||||
if (dimension.width == 0 && dimension.height == 0)
|
if (dimension.width == 0 && dimension.height == 0)
|
||||||
{
|
{
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
final BufferedImage clippedImage = surface.getSubimage(0, 0, dimension.width, dimension.height);
|
final BufferedImage clippedImage = surface.getSubimage(0, 0, dimension.width, dimension.height);
|
||||||
|
|||||||
Reference in New Issue
Block a user