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:
parent
50816b3b80
commit
91220078f1
5 changed files with 14 additions and 16 deletions
|
@ -146,8 +146,7 @@ class Shape:
|
|||
self.canvas.coords(self.id, self.x1, self.y1, x1, y1)
|
||||
|
||||
def shape_complete(self, x: float, y: float):
|
||||
for component in tags.ABOVE_SHAPE:
|
||||
self.canvas.tag_raise(component)
|
||||
self.canvas.organize()
|
||||
s = ShapeDialog(self.app, self)
|
||||
s.show()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue