Revision: 8758
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8758&view=rev
Author:   mdboom
Date:     2010-10-22 15:00:31 +0000 (Fri, 22 Oct 2010)

Log Message:
-----------
[3092255] Fix the direction of scroll event in Tk backend to match other 
backends.

Modified Paths:
--------------
    branches/v1_0_maint/lib/matplotlib/backends/backend_tkagg.py

Modified: branches/v1_0_maint/lib/matplotlib/backends/backend_tkagg.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/backends/backend_tkagg.py        
2010-10-19 14:30:24 UTC (rev 8757)
+++ branches/v1_0_maint/lib/matplotlib/backends/backend_tkagg.py        
2010-10-22 15:00:31 UTC (rev 8758)
@@ -312,8 +312,8 @@
         x = event.x
         y = self.figure.bbox.height - event.y
         num = getattr(event, 'num', None)
-        if   num==4: step = -1
-        elif num==5: step = +1
+        if   num==4: step = +1
+        elif num==5: step = -1
         else:        step =  0
 
         FigureCanvasBase.scroll_event(self, x, y, step, guiEvent=event)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to