test_gesture_layer3: fix typo

This commit is contained in:
Jaeun Choi 2017-08-08 16:44:23 +09:00
parent a9fdcc4cc2
commit 52368bf463
1 changed files with 1 additions and 1 deletions

View 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);
}