From 84d7293b6abd7caff0b9cbc8c6550de0220ad128 Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Tue, 21 May 2019 10:47:58 +0900 Subject: [PATCH] Efl.Ui.Textpath: draw text immediately in the position.set Summary: Efl.Ui.Textpath was drawing its text on the job. Because of this, textpath was slower than other objects which are scrolling on the same scroller. So this patch makes textpath not use job in the position.set. Reviewers: Hermet, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8924 --- src/lib/elementary/efl_ui_textpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c index 554714369f..cc032d144f 100644 --- a/src/lib/elementary/efl_ui_textpath.c +++ b/src/lib/elementary/efl_ui_textpath.c @@ -676,7 +676,7 @@ _efl_ui_textpath_efl_gfx_entity_position_set(Eo *obj, Efl_Ui_Textpath_Data *pd, { efl_gfx_entity_position_set(efl_super(obj, MY_CLASS), pos); _path_data_get(obj, pd, EINA_FALSE); - _sizing_eval(pd); + _text_draw(pd); } EOLIAN static void