Changed colors of node IO
This commit is contained in:
parent
1865815a83
commit
ff569dd626
3 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ var NodeIO = /** @class */ (function (_super) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
NodeIO.prototype.draw = function (ctx, ms) {
|
NodeIO.prototype.draw = function (ctx, ms) {
|
||||||
ctx.fillStyle = this.input ? "red" : "blue";
|
ctx.fillStyle = this.input ? "#ED575A" : "#66A7C5";
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(ms.offset.x + this.x, ms.offset.y + this.y, this.radius, circleRightRadians, circleTopRadians, this.input);
|
ctx.arc(ms.offset.x + this.x, ms.offset.y + this.y, this.radius, circleRightRadians, circleTopRadians, this.input);
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
|
|
|
@ -104,7 +104,7 @@ class NodeIO extends CanvasObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
draw(ctx: CanvasRenderingContext2D, ms: MouseState): void {
|
draw(ctx: CanvasRenderingContext2D, ms: MouseState): void {
|
||||||
ctx.fillStyle = this.input ? "red" : "blue";
|
ctx.fillStyle = this.input ? "#ED575A" : "#66A7C5";
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(ms.offset.x + this.x, ms.offset.y + this.y, this.radius, circleRightRadians, circleTopRadians, this.input);
|
ctx.arc(ms.offset.x + this.x, ms.offset.y + this.y, this.radius, circleRightRadians, circleTopRadians, this.input);
|
||||||
ctx.fill();
|
ctx.fill();
|
||||||
|
|
2
todo.md
2
todo.md
|
@ -19,4 +19,4 @@
|
||||||
- walmart
|
- walmart
|
||||||
- etsy
|
- etsy
|
||||||
- aliexpress.com
|
- aliexpress.com
|
||||||
- softer colors for IO of filter
|
- start connection, don't connect, cant start new connection bug?
|
Loading…
Add table
Reference in a new issue