mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
network: Change color.
This commit is contained in:
1 parent
77736b0885
commit
37a311b303
1 file changed
+2
-2
@@ -52,7 +52,7 @@ class NodeItem(QGraphicsItem):
|
||||
|
||||
# Select color in function of node position in graph and
|
||||
# status
|
||||
color = Qt.black
|
||||
color = Qt.darkBlue
|
||||
if self.graph.selected_new_edge_src_node() == self:
|
||||
color = Qt.darkRed
|
||||
elif self.graph.selected_item() == self:
|
||||
@@ -139,7 +139,7 @@ class EdgeItem(QGraphicsItem):
|
||||
return
|
||||
|
||||
# Select color
|
||||
color = Qt.black
|
||||
color = Qt.darkBlue
|
||||
if self.graph.selected_item() == self:
|
||||
color = Qt.red
|
||||
elif self.graph.current_edge() == self:
|
||||
|
||||
Reference in new issue
Block a user