Use correct background if inverted
This commit is contained in:
parent
ef84f0ba57
commit
f5c168d997
|
@ -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]];
|
||||
|
|
Loading…
Reference in New Issue