test_gesture_layer3: fix typo
authorJaeun Choi <jaeun12.choi@samsung.com>
Tue, 8 Aug 2017 07:44:23 +0000 (16:44 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Tue, 8 Aug 2017 07:44:23 +0000 (16:44 +0900)
src/bin/elementary/test_gesture_layer3.c

index 9d89ca9..9608d61 100644 (file)
@@ -217,7 +217,7 @@ pic_obj_keep_inframe(void *_po)
      po->bx = 480 - (po->bw / 2);
 
    if (my < 0)
-     po->by = 0 - (po->bw / 2);
+     po->by = 0 - (po->bh / 2);
    else if (my > 800)
      po->by = 800 - (po->bh / 2);
 }