diff options
author | pierre lamot <pierre.lamot@openwide.fr> | 2015-03-03 18:11:55 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 10:42:51 +0100 |
commit | be98af31bf2b2b1931018f71a628b9089be89675 (patch) | |
tree | c9bff97c97402de3046223052f4397ca9a5f4ea4 /src/lib | |
parent | ef7e8562a1cb73e0df5d5ee97d0d7c2c1426c0c4 (diff) |
ecore_cocoa: fix mouse scrollwheel direction
horizontal and vertical direction where inverted
@fix
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m index a20c72ba2f..1da3ed5b57 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) | |||
333 | ev->modifiers = 0; /* FIXME: keep modifier around. */ | 333 | ev->modifiers = 0; /* FIXME: keep modifier around. */ |
334 | ev->timestamp = time; | 334 | ev->timestamp = time; |
335 | ev->z = [event deltaX] != 0 ? [event deltaX] : -([event deltaY]); | 335 | ev->z = [event deltaX] != 0 ? [event deltaX] : -([event deltaY]); |
336 | ev->direction = [event deltaX] != 0 ? 0 : 1; | 336 | ev->direction = [event deltaX] != 0 ? 1 : 0; |
337 | 337 | ||
338 | ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL); | 338 | ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL); |
339 | 339 | ||