Changed colors of node IO

This commit is contained in:
BroodjeAap 2022-12-27 12:09:57 +00:00
parent 1865815a83
commit ff569dd626
3 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ var NodeIO = /** @class */ (function (_super) {
}
};
NodeIO.prototype.draw = function (ctx, ms) {
ctx.fillStyle = this.input ? "red" : "blue";
ctx.fillStyle = this.input ? "#ED575A" : "#66A7C5";
ctx.beginPath();
ctx.arc(ms.offset.x + this.x, ms.offset.y + this.y, this.radius, circleRightRadians, circleTopRadians, this.input);
ctx.fill();

View file

@ -104,7 +104,7 @@ class NodeIO extends CanvasObject {
}
draw(ctx: CanvasRenderingContext2D, ms: MouseState): void {
ctx.fillStyle = this.input ? "red" : "blue";
ctx.fillStyle = this.input ? "#ED575A" : "#66A7C5";
ctx.beginPath();
ctx.arc(ms.offset.x + this.x, ms.offset.y + this.y, this.radius, circleRightRadians, circleTopRadians, this.input);
ctx.fill();

View file

@ -19,4 +19,4 @@
- walmart
- etsy
- aliexpress.com
- softer colors for IO of filter
- start connection, don't connect, cant start new connection bug?