forked from enlightenment/efl
evas/textblock - fix the textblock to render pre again if it needs to be relayouting
This commit is contained in:
parent
7003b7fd0b
commit
b7ff5a737f
|
@ -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)
|
2013-05-27 Jihoon Kim (jihoon)
|
||||||
|
|
||||||
* Add ECORE_IMF_INPUT_PANEL_LAYOUT_DATETIME layout
|
* Add ECORE_IMF_INPUT_PANEL_LAYOUT_DATETIME layout
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -283,3 +283,4 @@ Fixes:
|
||||||
ecore_con_client_uptime_get() is working.
|
ecore_con_client_uptime_get() is working.
|
||||||
* Fix srv->start_time (initialization missing). So now
|
* Fix srv->start_time (initialization missing). So now
|
||||||
ecore_con_server_uptime_get() is working for plain TCP connections.
|
ecore_con_server_uptime_get() is working for plain TCP connections.
|
||||||
|
* Fix textblock to render pre again if it needs to relayouting.
|
||||||
|
|
|
@ -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);
|
Evas_Object_Textblock *o = eo_data_scope_get(eo_obj, MY_CLASS);
|
||||||
int is_v, was_v;
|
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 */
|
/* pre-render phase. this does anything an object needs to do just before */
|
||||||
/* rendering. this could mean loading the image data, retrieving it from */
|
/* rendering. this could mean loading the image data, retrieving it from */
|
||||||
/* elsewhere, decoding video etc. */
|
/* 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);
|
was_v = evas_object_was_visible(eo_obj, obj);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* dont pre-render the obj twice! */
|
||||||
|
if (obj->pre_render_done) return;
|
||||||
|
obj->pre_render_done = EINA_TRUE;
|
||||||
|
|
||||||
if (o->redraw)
|
if (o->redraw)
|
||||||
{
|
{
|
||||||
o->redraw = 0;
|
o->redraw = 0;
|
||||||
|
|
Loading…
Reference in New Issue