diff --git a/src/src/measure/ActorDraggableInteractorStyle.cpp b/src/src/measure/ActorDraggableInteractorStyle.cpp index 41893b4..628c568 100644 --- a/src/src/measure/ActorDraggableInteractorStyle.cpp +++ b/src/src/measure/ActorDraggableInteractorStyle.cpp @@ -323,6 +323,7 @@ void ActorDraggableInteractorStyle::WindowLevel() void ActorDraggableInteractorStyle::OnRightButtonDown() { + this->InvokeEvent(AfterViewerClicked); int x = this->Interactor->GetEventPosition()[0]; int y = this->Interactor->GetEventPosition()[1]; @@ -338,6 +339,7 @@ void ActorDraggableInteractorStyle::OnRightButtonDown() } } void ActorDraggableInteractorStyle::OnLeftButtonDown() { + this->InvokeEvent(AfterViewerClicked); int x = this->Interactor->GetEventPosition()[0]; int y = this->Interactor->GetEventPosition()[1]; diff --git a/src/src/measure/ActorDraggableInteractorStyle.h b/src/src/measure/ActorDraggableInteractorStyle.h index 46bfc6f..6979d61 100644 --- a/src/src/measure/ActorDraggableInteractorStyle.h +++ b/src/src/measure/ActorDraggableInteractorStyle.h @@ -44,7 +44,8 @@ public: DeleteMeasureEvent, RightButtonClickEvent, ScalarOpacityEvent, - ScalarShiftEvent + ScalarShiftEvent, + AfterViewerClicked }; /**