fixed new gui removing marker annotations when creating new sessions

This commit is contained in:
Blake Harnden 2020-03-03 22:38:03 -08:00
parent 539ca5d22c
commit 4093b2244a
3 changed files with 6 additions and 4 deletions

View file

@ -534,7 +534,7 @@ class CanvasGraph(tk.Canvas):
y + r,
fill=self.app.toolbar.marker_tool.color,
outline="",
tags="marker",
tags=tags.MARKER,
)
return
if selected is None:

View file

@ -10,6 +10,7 @@ NODE = "node"
WALLPAPER = "wallpaper"
SELECTION = "selectednodes"
THROUGHPUT = "throughput"
MARKER = "marker"
ABOVE_WALLPAPER_TAGS = [
GRIDLINE,
SHAPE,
@ -33,4 +34,5 @@ COMPONENT_TAGS = [
SELECTION,
SHAPE,
SHAPE_TEXT,
MARKER,
]