evas/canvas: fix an incorrect sizing of smart object bounding box.

height of the children b-box should be arranged by parent y-pos.

Signed-Off-By: KeuckDo Bang <keuckdo.bang@samsung.com>
Signed-Off-By: MinKyu Kim <imetjade.kim@samsung.com>

@fix
This commit is contained in:
Hermet Park 2016-02-02 21:14:43 +09:00
parent a382e92017
commit 909af58b8e
1 changed files with 2 additions and 2 deletions

View File

@ -1139,8 +1139,8 @@ evas_object_update_bounding_box(Evas_Object *eo_obj, Evas_Object_Protected_Data
/* Update top limit */
if (noclip && y < smart_parent->cur.bounding_box.y)
{
smart_parent->cur.bounding_box.h += smart_parent->cur.bounding_box.x - x;
smart_parent->cur.bounding_box.y = y;
smart_parent->cur.bounding_box.h += smart_parent->cur.bounding_box.y - y;
smart_parent->cur.bounding_box.y = y;
propagate = EINA_TRUE;
}