Skip to content
Snippets Groups Projects
Commit 3952a880 authored by Lennart Eichhorn's avatar Lennart Eichhorn
Browse files

Fixed bug where the background color is not set

parent 1cb8de18
No related branches found
No related tags found
No related merge requests found
...@@ -193,9 +193,8 @@ public class BestFoldingsToVideo implements Visualizer { ...@@ -193,9 +193,8 @@ public class BestFoldingsToVideo implements Visualizer {
// draws input image to the top left corner // draws input image to the top left corner
Graphics2D g2d = outputImage.createGraphics(); Graphics2D g2d = outputImage.createGraphics();
//TODO The following two lines should be unnecessary g2d.setColor(config.getImageBackground());
//g2d.setColor(Config.imageBackground); g2d.fillRect(0,0, maxWidthAfterIndex[0], maxHeightAfterIndex[0]);
//g2d.fillRect(0,0, maxWidthAfterIndex[0], maxHeightAfterIndex[0]);
int newHeight = 0; int newHeight = 0;
int newWidth = 0; int newWidth = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment