diff --git a/micro_sam/sam_annotator/annotator_tracking.py b/micro_sam/sam_annotator/annotator_tracking.py index f0683696..6edbc79f 100644 --- a/micro_sam/sam_annotator/annotator_tracking.py +++ b/micro_sam/sam_annotator/annotator_tracking.py @@ -369,7 +369,7 @@ def _commit_tracking_widget(v: Viewer, layer: str = "current_track") -> None: vutil.clear_annotations(v, clear_segmentations=False) -@magicgui(call_button="Clear Annotations [Shfit + C]") +@magicgui(call_button="Clear Annotations [Shift + C]") def _clear_widget_tracking(v: Viewer) -> None: _reset_tracking_state() vutil.clear_annotations(v) diff --git a/micro_sam/sam_annotator/util.py b/micro_sam/sam_annotator/util.py index 992d2284..c2f39e7a 100644 --- a/micro_sam/sam_annotator/util.py +++ b/micro_sam/sam_annotator/util.py @@ -33,7 +33,7 @@ def clear_annotations(v: napari.Viewer, clear_segmentations=True) -> None: v.layers["current_track"].refresh() -@magicgui(call_button="Clear Annotations [Shfit + C]") +@magicgui(call_button="Clear Annotations [Shift + C]") def _clear_widget(v: napari.Viewer) -> None: clear_annotations(v)