removed magic colors from node items and moved to css

This commit is contained in:
itsmattkc
2019-07-16 01:49:58 -04:00
parent d098c0de5f
commit 9d2fc71efc
6 changed files with 62 additions and 40 deletions
+3
View File
@@ -35,6 +35,9 @@ public:
void Adjust();
protected:
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override;
private:
qreal CalculateEdgeYPoint(NodeViewItem* item, int param_index, NodeViewItem* opposing);