pygui: created a singular func for ordering items on canvas by tags, updates so that drawing edges are behind nodes

This commit is contained in:
Blake Harnden 2020-05-16 14:12:08 -07:00
parent 50816b3b80
commit 91220078f1
5 changed files with 14 additions and 16 deletions

View file

@ -331,8 +331,6 @@ class CanvasEdge(Edge):
dst_pos = self.canvas.coords(self.dst)
self.move_dst(dst_pos)
self.check_wireless()
self.canvas.tag_raise(self.src)
self.canvas.tag_raise(self.dst)
logging.debug("Draw wired link from node %s to node %s", self.src, dst)
def is_wireless(self) -> bool: