summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-07-10 14:33:29 +0900
committerHermet Park <hermetpark@gmail.com>2019-07-10 14:33:29 +0900
commit4fe9edaa2647a8f2a5f6a46b7ad3c50a80e5271d (patch)
tree0b8616806e9c4488591d8509f5e4b86c7654d8f8
parent52a7ae56cd4a0593f91c509eaea141329f7b14fd (diff)
efl_ui_textpath: adjust angle only for circle text.
-rw-r--r--src/lib/elementary/efl_ui_textpath.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c
index 4d63a0389a..c25410e1fc 100644
--- a/src/lib/elementary/efl_ui_textpath.c
+++ b/src/lib/elementary/efl_ui_textpath.c
@@ -644,7 +644,11 @@ _textpath_text_set_internal(Eo *obj, Efl_Ui_Textpath_Data *pd, const char *part,
644 if (!text) text = ""; 644 if (!text) text = "";
645 ret = edje_object_part_text_set(pd->text_obj, part, text); 645 ret = edje_object_part_text_set(pd->text_obj, part, text);
646 _ellipsis_set(pd, obj); 646 _ellipsis_set(pd, obj);
647 _path_start_angle_adjust(obj, pd); 647
648 //Only if circlular textpath
649 if (pd->circle.radius > 0)
650 _path_start_angle_adjust(obj, pd);
651
648 _sizing_eval(pd); 652 _sizing_eval(pd);
649 653
650 return ret; 654 return ret;