Hi Norbert,

The ImageJ 1.54j20 daily build adds a

  setOption("mouseWheelStackScrolling",false)

macro function that you can use to disable mouse wheel scrolling in stacks. Add 
this line to the Edit>Options>Startup dialog to always have mouse wheel 
scrolling disabled.

-wayne

>  On May 5, 2024, at 3:35 AM, Norbert Vischer <[email protected]> wrote:
> 
> Hello all,
> 
> I get periodically confused by unwanted change of current stack slice.
> I am using a standard Apple magic mouse, which interprets slight movements of 
> the index finger as scroll action, both in horizontal and vertical direction. 
> Even while carefully creating or modifying a line selection, the underlying 
> slice sometimes changes. It also can happen when re-touching the mouse after 
> using the keyboard.
> 
> I would be happy if I could disable this via a checkbox like:
> 
>    Edit> Options> Misc> Scroll stacks via mouse wheel
> 
> With a simple change in StackWindow.mouseWheelMoved(MouseWheelEvent e),
> I managed to disable wheel-scrolling, and still could navigate through slices 
> via menu, via shortcuts < and >, and via scroll bar(s).
> Zooming via shift key + scroll wheel still worked.
> In text windows, dialogs and plots, the scroll wheel action was still 
> operative.
> 
> Best regards,
> Norbert
> 

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to