ptlaunch: remove now redundant draw call, and also remove all setColor calls since we now only need the fg color which is the default anyways

pull/1097/head
crazysaem 2021-12-15 20:12:30 +00:00
parent c52f57f5ba
commit eeed392782
1 changed files with 0 additions and 4 deletions

View File

@ -488,9 +488,6 @@ var drawCircle = (circle, drawBuffer, scale) => {
log("drawing circle");
log({ x: x, y: y, r: r });
drawBuffer.setColor(0);
drawBuffer.fillCircle(x, y, r);
drawBuffer.setColor(1);
drawBuffer.drawCircle(x, y, r);
};
@ -538,7 +535,6 @@ var drawCirclesWithPattern = (pattern, options) => {
CIRCLES.forEach((circle) => drawCircle(circle, drawBuffer, scale));
drawBuffer.setColor(1);
drawBuffer.setFontAlign(0, 0);
drawBuffer.setFont("Vector", 40 * scale);
pattern.forEach((circleIndex, patternIndex) => {