forked from enlightenment/efl
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:
parent
a382e92017
commit
909af58b8e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue