elementary/mapbuf - update whenever the content is moved or resized.

SVN revision: 80348
This commit is contained in:
ChunEon Park 2012-12-06 11:47:26 +00:00
parent 98a3ae1ae7
commit 7748dd4d44
3 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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:

View File

@ -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);