projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8dcece
)
efl_ui_textpath: redraw text properly.
author
Hermet Park
<hermetpark@gmail.com>
Mon, 27 May 2019 05:36:44 +0000
(14:36 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Thu, 30 May 2019 08:17:53 +0000
(17:17 +0900)
It needs redraw since text draw depends on the obj' size.
src/lib/elementary/efl_ui_textpath.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_textpath.c
b/src/lib/elementary/efl_ui_textpath.c
index
df712c1
..
fd53391
100644
(file)
--- a/
src/lib/elementary/efl_ui_textpath.c
+++ b/
src/lib/elementary/efl_ui_textpath.c
@@
-783,7
+783,9
@@
_efl_ui_textpath_efl_gfx_entity_position_set(Eo *obj, Efl_Ui_Textpath_Data *pd,
EOLIAN static void
_efl_ui_textpath_efl_gfx_entity_size_set(Eo *obj, Efl_Ui_Textpath_Data *pd EINA_UNUSED, Eina_Size2D sz)
{
+ Eina_Size2D psize = efl_gfx_entity_size_get(obj);
efl_gfx_entity_size_set(efl_super(obj, MY_CLASS), sz);
+ if (psize.w != sz.w || psize.h != sz.h) _text_draw(pd);
}
EOLIAN static void