jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=a920d06b7813a6eb0fc93a39cd9471eb9cbfa70e

commit a920d06b7813a6eb0fc93a39cd9471eb9cbfa70e
Author: Jaehwan Kim <jae.hwan....@samsung.com>
Date:   Mon Aug 24 13:38:08 2015 +0900

    scroller: fix the misstake. change && -> ||
    
    @fix
---
 src/lib/elm_scroller.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index 5243f8a..4d45fd4 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -120,10 +120,10 @@ _key_action_move(Evas_Object *obj, const char *params)
    if ((current_focus == obj) ||
        ((!ELM_RECTS_INTERSECT
          (x, y, v_w, v_h, (f_x - c_x), (f_y - c_y), f_w, f_h)) &&
-        (!strcmp(dir, "left") && (f_x > v_x)) &&
-        (!strcmp(dir, "right") && (f_x + f_w < v_x + v_w)) &&
-        (!strcmp(dir, "up") && (f_y > v_y)) &&
-        (!strcmp(dir, "down") && (f_y + f_h < v_y + v_h))))
+        ((!strcmp(dir, "left") && (f_x > v_x)) ||
+        (!strcmp(dir, "right") && (f_x + f_w < v_x + v_w)) ||
+        (!strcmp(dir, "up") && (f_y > v_y)) ||
+        (!strcmp(dir, "down") && (f_y + f_h < v_y + v_h)))))
      {
         Eina_List *l;
         Evas_Object *cur;

-- 


Reply via email to