From af969f6d3da43d259d60e3c9ffc5325aa3d451d6 Mon Sep 17 00:00:00 2001 From: Johnny Chan Date: Wed, 17 Apr 2024 11:30:40 +1200 Subject: [PATCH] group node painter fix. --- NodeGraphQt/qgraphics/node_group.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NodeGraphQt/qgraphics/node_group.py b/NodeGraphQt/qgraphics/node_group.py index 5b6a69e0..478b71ac 100644 --- a/NodeGraphQt/qgraphics/node_group.py +++ b/NodeGraphQt/qgraphics/node_group.py @@ -122,7 +122,7 @@ def _paint_vertical(self, painter, option, widget): poly.append(rect_2.bottomLeft()) poly.append(rect_1.bottomLeft()) - painter.setBrush(QtGui.QColor(*self.color).dark(180)) + painter.setBrush(QtGui.QColor(*self.color).darker(180)) painter.drawRect(rect_1) painter.drawPolygon(poly) painter.setBrush(QtGui.QColor(*self.color))