Use correct background if inverted

This commit is contained in:
mattmcw 2021-08-11 20:13:43 -04:00
parent ef84f0ba57
commit f5c168d997
1 changed files with 1 additions and 1 deletions

View File

@ -1285,7 +1285,7 @@ void draw () {
if (FileModeTSP) {
OptimizePlotPath();
canvas.background(255);
canvas.background(config.invert ? 0 : 255);
canvas.beginShape();
for ( i = 0; i < particleRouteLength; ++i) {
Vec2D p1 = particles[particleRoute[i]];