From 96b0f0b44e0511107d163b5b0b3626f559812c48 Mon Sep 17 00:00:00 2001 From: Leonard Ritter Date: Tue, 30 Sep 2014 17:33:45 +0200 Subject: [PATCH] colored wire outline inherits alpha --- blendish.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blendish.h b/blendish.h index b06f8f3..a6d30c2 100644 --- a/blendish.h +++ b/blendish.h @@ -1689,7 +1689,9 @@ void bndColoredNodeWire(NVGcontext *ctx, float x0, float y0, float x1, float y1, x0 + delta, y0, x1 - delta, y1, x1, y1); - nvgStrokeColor(ctx, bnd_theme.nodeTheme.wiresColor); + NVGcolor colorw = bnd_theme.nodeTheme.wiresColor; + colorw.a = (color0.a