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:
f077ba9
)
evas: don't add wrong rect for empty line
15/210515/1
author
Bowon Ryu
<bowon.ryu@samsung.com>
Mon, 22 Jul 2019 05:27:44 +0000
(14:27 +0900)
committer
Bowon Ryu
<bowon.ryu@samsung.com>
Mon, 22 Jul 2019 05:27:54 +0000
(14:27 +0900)
@tizen_fix
Change-Id: Ic350fa02785584af2944ddcb05c994f122873785
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/evas/canvas/evas_object_textblock.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_textblock.c
b/src/lib/evas/canvas/evas_object_textblock.c
index
91b9658
..
9ae63a9
100644
(file)
--- a/
src/lib/evas/canvas/evas_object_textblock.c
+++ b/
src/lib/evas/canvas/evas_object_textblock.c
@@
-13650,11
+13650,19
@@
_evas_textblock_cursor_range_in_line_geometry_get(
{
Evas_Coord x, w;
x = 0;
+ /* TIZEN_ONLY(20180706): don't add wrong rect for empty line
w = it1->w;
_evas_textblock_range_calc_x_w(it1, &x, &w, EINA_TRUE,
switch_items);
+ */
+ w = (cur1) ? it1->w : 0;
+ /* END */
if (w > 0)
{
+ /* TIZEN_ONLY(20180706): don't add wrong rect for empty line */
+ _evas_textblock_range_calc_x_w(it1, &x, &w, EINA_TRUE,
+ switch_items);
+ /* END */
tr = calloc(1, sizeof(Evas_Textblock_Rectangle));
rects = eina_list_append(rects, tr);
tr->x = ln->x + it1->x + x;