Hi Dimitry,

this change looks like if you reversed the mouse wheel direction. This
was not suggested in the bug report you mention.
The mouse wheel direction was made consistent with other apps like ms
office.
Suggested was to reverse the key actions.
Please, leave the mouse directions and reverse the keys.

TIA, Chris


Dimitry Polivaev schrieb:
> Update of /cvsroot/freemind/freemind/freemind/modes/common/listeners
> In directory 
> sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv8832/freemind/modes/common/listeners
>
> Modified Files:
>       Tag: fm_060405_integration
>       MindMapMouseWheelEventHandler.java 
> Log Message:
> Fixed: user zoom limited to 3.125% to 3200% (Bug 1977703  zooming very deep 
> leads to a crash )
> Fixed: directions for zooming inconsistent (Bug  1987443)
> Fixed: zoom level discontinuity (Bug 1987448)
>
> Index: MindMapMouseWheelEventHandler.java
> ===================================================================
> RCS file: 
> /cvsroot/freemind/freemind/freemind/modes/common/listeners/Attic/MindMapMouseWheelEventHandler.java,v
> retrieving revision 1.1.2.2
> retrieving revision 1.1.2.3
> diff -C2 -d -r1.1.2.2 -r1.1.2.3
> *** MindMapMouseWheelEventHandler.java        15 Mar 2008 23:01:05 -0000      
> 1.1.2.2
> --- MindMapMouseWheelEventHandler.java        10 Jun 2008 20:55:53 -0000      
> 1.1.2.3
> ***************
> *** 93,103 ****
>                       // fc, 18.11.2003: when control pressed, then the zoom 
> is changed.
>                       float newZoomFactor = 1f + Math.abs((float) 
> e.getWheelRotation()) / 10f;
> !                     if (e.getWheelRotation() < 0)
>                               newZoomFactor = 1 / newZoomFactor;
> !                     float newZoom = ((MapView) e.getComponent()).getZoom()
>                                       / newZoomFactor;
>                       // round the value due to possible rounding problems.
>                       newZoom = (float) Math.rint(newZoom * 1000f) / 1000f;
> !                     mController.getController().setZoom(newZoom);
>                       // end zoomchange
>               } else if ((e.getModifiers() & HORIZONTAL_SCROLL_MASK) != 0) {
> --- 93,108 ----
>                       // fc, 18.11.2003: when control pressed, then the zoom 
> is changed.
>                       float newZoomFactor = 1f + Math.abs((float) 
> e.getWheelRotation()) / 10f;
> !                     if (e.getWheelRotation() > 0)
>                               newZoomFactor = 1 / newZoomFactor;
> !                     final float oldZoom = ((MapView) 
> e.getComponent()).getZoom();
> !                     float newZoom = oldZoom
>                                       / newZoomFactor;
>                       // round the value due to possible rounding problems.
>                       newZoom = (float) Math.rint(newZoom * 1000f) / 1000f;
> !                     newZoom = Math.max(1f/32f, newZoom);
> !                     newZoom = Math.min(32f, newZoom);
> !                     if(newZoom != oldZoom){
> !                             mController.getController().setZoom(newZoom);
> !                     }
>                       // end zoomchange
>               } else if ((e.getModifiers() & HORIZONTAL_SCROLL_MASK) != 0) {
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Freemind-cvslog mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freemind-cvslog
>
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer

Reply via email to