From 45833beb315ed7fba3acc13533b047195be0616e Mon Sep 17 00:00:00 2001 From: Matt Stagg Date: Fri, 17 May 2024 16:31:05 +0100 Subject: [PATCH] Made it return True if the release is handled by the base class --- nion/swift/ImageCanvasItem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nion/swift/ImageCanvasItem.py b/nion/swift/ImageCanvasItem.py index 4f0852244..99d8caa79 100644 --- a/nion/swift/ImageCanvasItem.py +++ b/nion/swift/ImageCanvasItem.py @@ -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