cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=be98af31bf2b2b1931018f71a628b9089be89675

commit be98af31bf2b2b1931018f71a628b9089be89675
Author: pierre lamot <[email protected]>
Date:   Tue Mar 3 18:11:55 2015 +0100

    ecore_cocoa: fix mouse scrollwheel direction
    
    horizontal and vertical direction where inverted
    
    @fix
---
 src/lib/ecore_cocoa/ecore_cocoa.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m 
b/src/lib/ecore_cocoa/ecore_cocoa.m
index a20c72b..1da3ed5 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa.m
@@ -333,7 +333,7 @@ ecore_cocoa_feed_events(void *anEvent)
          ev->modifiers = 0; /* FIXME: keep modifier around. */
          ev->timestamp = time;
          ev->z = [event deltaX] != 0 ? [event deltaX] : -([event deltaY]);
-         ev->direction = [event deltaX] != 0 ? 0 : 1;
+         ev->direction = [event deltaX] != 0 ? 1 : 0;
 
          ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL);
 

-- 


Reply via email to