evas/textblock - fix the textblock to render pre again if it needs to be relayouting

This commit is contained in:
ChunEon Park 2013-05-28 23:07:24 +09:00
parent 7003b7fd0b
commit b7ff5a737f
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-05-28 ChunEon Park (Hermet)
* Fix textblock to render pre again if it needs to relayouting.
2013-05-27 Jihoon Kim (jihoon)
* Add ECORE_IMF_INPUT_PANEL_LAYOUT_DATETIME layout

1
NEWS
View File

@ -283,3 +283,4 @@ Fixes:
ecore_con_client_uptime_get() is working.
* Fix srv->start_time (initialization missing). So now
ecore_con_server_uptime_get() is working for plain TCP connections.
* Fix textblock to render pre again if it needs to relayouting.

View File

@ -10805,9 +10805,6 @@ evas_object_textblock_render_pre(Evas_Object *eo_obj, Evas_Object_Protected_Data
Evas_Object_Textblock *o = eo_data_scope_get(eo_obj, MY_CLASS);
int is_v, was_v;
/* dont pre-render the obj twice! */
if (obj->pre_render_done) return;
obj->pre_render_done = EINA_TRUE;
/* pre-render phase. this does anything an object needs to do just before */
/* rendering. this could mean loading the image data, retrieving it from */
/* elsewhere, decoding video etc. */
@ -10826,6 +10823,11 @@ evas_object_textblock_render_pre(Evas_Object *eo_obj, Evas_Object_Protected_Data
was_v = evas_object_was_visible(eo_obj, obj);
goto done;
}
/* dont pre-render the obj twice! */
if (obj->pre_render_done) return;
obj->pre_render_done = EINA_TRUE;
if (o->redraw)
{
o->redraw = 0;