forked from enlightenment/efl
elementary/mapbuf - update whenever the content is moved or resized.
SVN revision: 80348
This commit is contained in:
parent
98a3ae1ae7
commit
7748dd4d44
|
@ -778,3 +778,8 @@
|
||||||
2012-12-06 Daniel Juyung Seo (SeoZ)
|
2012-12-06 Daniel Juyung Seo (SeoZ)
|
||||||
|
|
||||||
* Fix wheel scroll direction with shift.
|
* 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.
|
||||||
|
|
|
@ -81,6 +81,8 @@ Fixes:
|
||||||
* Fix forgotten break in elm_map that would have thrown error when the action was properly
|
* Fix forgotten break in elm_map that would have thrown error when the action was properly
|
||||||
taken in fact.
|
taken in fact.
|
||||||
* Fix wheel scroll direction with shift.
|
* 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:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -117,8 +117,7 @@ _configure(Evas_Object *obj)
|
||||||
Evas_Coord x, y, w, h, x2, y2, w2, h2;
|
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(wd->resize_obj, &x, &y, &w, &h);
|
||||||
evas_object_geometry_get(sd->content, &x2, &y2, &w2, &h2);
|
evas_object_geometry_get(sd->content, &x2, &y2, &w2, &h2);
|
||||||
|
if ((x != x2) || (y != y2) || (w != w2) || (h != h2))
|
||||||
if ((x != x2) || (y != y2))
|
|
||||||
{
|
{
|
||||||
if (!sd->enabled)
|
if (!sd->enabled)
|
||||||
evas_object_move(sd->content, x, y);
|
evas_object_move(sd->content, x, y);
|
||||||
|
|
Loading…
Reference in New Issue