Skip to content

Commit

Permalink
typo in type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdwetering committed Oct 23, 2024
1 parent b8ea10a commit 365e8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zxlive/proof_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def _vert_double_clicked(self, v: VT) -> None:
self.undo_stack.push(cmd)
return

def _edge_double_clicked(self, e: VT) -> None:
def _edge_double_clicked(self, e: ET) -> None:
"""When an edge is double clicked, we change it to an H-box if it is a Hadamard edge."""
new_g = copy.deepcopy(self.graph)
if new_g.edge_type(e) == EdgeType.HADAMARD:
Expand Down

0 comments on commit 365e8d8

Please sign in to comment.