diff --git a/clusterview/mode_handlers.py b/clusterview/mode_handlers.py index 3a98b28..06b2477 100644 --- a/clusterview/mode_handlers.py +++ b/clusterview/mode_handlers.py @@ -201,8 +201,8 @@ def __handle_move_points(ctx, event): if __left_click_flag is __ClickFlag.NONE: __left_click_flag = __ClickFlag.SELECTION_BOX - set_move_bb_top_left(event.x(), event.y()) + set_move_bb_top_left(event.x(), event.y()) elif (__left_click_flag is __ClickFlag.SELECTION_BOX and __left_mouse_down): @@ -254,8 +254,8 @@ def __handle_move_points(ctx, event): elif (__left_click_flag is not __ClickFlag.NONE and event.type() == QEvent.MouseButtonRelease): - # Final bottom right corner point if __left_click_flag is __ClickFlag.SELECTION_BOX: + set_move_bb_bottom_right(event.x(), event.y()) # Satisfy the post condition by resetting the bounding box