pygui: added multi canvas support to shapes, updated how shape metadata is saved and loaded to align
This commit is contained in:
parent
4a8f8557a6
commit
367a2096fa
4 changed files with 41 additions and 35 deletions
|
@ -27,7 +27,7 @@ class ShapeDialog(Dialog):
|
|||
else:
|
||||
title = "Add Text"
|
||||
super().__init__(app, title)
|
||||
self.canvas: "CanvasGraph" = app.canvas
|
||||
self.canvas: "CanvasGraph" = app.manager.current()
|
||||
self.fill: Optional[ttk.Label] = None
|
||||
self.border: Optional[ttk.Label] = None
|
||||
self.shape: "Shape" = shape
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue