Skip to content

Commit

Permalink
Made it return True if the release is handled by the base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiomat85 committed May 17, 2024
1 parent 3eca6b2 commit 45833be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nion/swift/ImageCanvasItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ def mouse_pressed(self, x: int, y: int, modifiers: UserInterface.KeyboardModifie

def mouse_released(self, x: int, y: int, modifiers: UserInterface.KeyboardModifiers) -> bool:
if super().mouse_released(x, y, modifiers):
return
return True

delegate = self.delegate
widget_mapping = self.mouse_mapping
Expand Down

0 comments on commit 45833be

Please sign in to comment.