diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index 4f4f731b0a..7f5986cb4f 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -778,3 +778,8 @@ 2012-12-06 Daniel Juyung Seo (SeoZ) * Fix wheel scroll direction with shift. + +2012-12-06 ChunEon Park (Hermet) + + * Fix the mapbuf to show the content always. Sometimes mapbuf couldn't show + the content properly. diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index 4e4eb0a40a..d31312aa87 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -81,6 +81,8 @@ Fixes: * Fix forgotten break in elm_map that would have thrown error when the action was properly taken in fact. * Fix wheel scroll direction with shift. + * Fix the mapbuf to show it's content properly, If the content doesn't + have resized, it wouldn't be showed up. Removals: diff --git a/legacy/elementary/src/lib/elm_mapbuf.c b/legacy/elementary/src/lib/elm_mapbuf.c index b604a31634..4d7ba0d9bc 100644 --- a/legacy/elementary/src/lib/elm_mapbuf.c +++ b/legacy/elementary/src/lib/elm_mapbuf.c @@ -117,8 +117,7 @@ _configure(Evas_Object *obj) Evas_Coord x, y, w, h, x2, y2, w2, h2; evas_object_geometry_get(wd->resize_obj, &x, &y, &w, &h); evas_object_geometry_get(sd->content, &x2, &y2, &w2, &h2); - - if ((x != x2) || (y != y2)) + if ((x != x2) || (y != y2) || (w != w2) || (h != h2)) { if (!sd->enabled) evas_object_move(sd->content, x, y);