Skip to content

Commit

Permalink
Refs #6347. Allow right mouse button to invoke view too.
Browse files Browse the repository at this point in the history
(cherry picked from commit 9864eb0cbe124dc2d76aae87894f229c6a92f810)
  • Loading branch information
Michael Reuter committed Jan 16, 2013
1 parent b78e922 commit 2afe50c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ void MultiSliceView::checkSliceClicked(int axisIndex, double sliceOffsetOnAxis,
int button, int modifier)
{
if (modifier == vtkContextMouseEvent::CONTROL_MODIFIER &&
button == vtkContextMouseEvent::LEFT_BUTTON)
(button == vtkContextMouseEvent::LEFT_BUTTON ||
button == vtkContextMouseEvent::RIGHT_BUTTON))
{
this->showCutInSliceViewer(axisIndex, sliceOffsetOnAxis);
}
Expand Down

0 comments on commit 2afe50c

Please sign in to comment.