Skip to content

Commit

Permalink
Bind zoom listeners to menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruned committed Apr 22, 2024
1 parent 703f4cd commit 18b9fc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cocoviewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ def __init__(self, data, root, image_panel, statusbar, menu, objects_panel, slid
self.menu.view.entryconfigure("BBoxes", variable=self.bboxes_on_global, command=self.menu_view_bboxes)
self.menu.view.entryconfigure("Labels", variable=self.labels_on_global, command=self.menu_view_labels)
self.menu.view.entryconfigure("Masks", variable=self.masks_on_global, command=self.menu_view_masks)
self.menu.view.entryconfigure("Zoom In", command=self.zoom_in)
self.menu.view.entryconfigure("Zoom Out", command=self.zoom_out)
self.menu.view.colormenu.entryconfigure(
"Categories",
variable=self.coloring_on_global,
Expand Down

0 comments on commit 18b9fc1

Please sign in to comment.