# Interactive Zoom Mouse Drag Direction

**URL:** <https://discourse.slicer.org/t/interactive-zoom-mouse-drag-direction/17832>\
**Category:** Support\
**Created:** [May 27, 2021, 10:34pm UTC](https://discourse.slicer.org/t/interactive-zoom-mouse-drag-direction/17832 "2021-05-27T22:34:06Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![spycolyf](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@spycolyf](https://discourse.slicer.org/u/spycolyf)\
**Post date:** [June 21, 2021, 5:29pm UTC](https://discourse.slicer.org/t/interactive-zoom-mouse-drag-direction/17832/5 "2021-06-21T17:29:33Z")

</div>

@jamesobutler,

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/c/dc93bffd574e944fde21215fe735608ccd9e2d4b.png)

I made the above changes. I simply swapped the zoom in/out Signals slots so that in calls out and out calls in. For instance…

The WidgetEventZoom **In** Slice (Zoom In) signal calls the opposite (Zoom Out) function, vtkMRMLSliceIntersectionWidget::WidgetEventZoom **Out** Slice, and visa versa.

This is obviously the wrong way to do it, right?

😑

---

_[View the full topic](https://discourse.slicer.org/t/interactive-zoom-mouse-drag-direction/17832)._
