Evas Textblock : Fix obstacles & word overlap

Summary:
Revert part of old commit which caused wrong behavior in textblock with obstacles, we should use obstacle x pos.
There is no comments about why this was changed.

{F3821294}

Old commit is :
Aug 23, 2017 e63be982d9

related to D10955

Test Plan: Run Textblock Obstacle example

Reviewers: ali.alzyod, woohyun, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11005
This commit is contained in:
abdulleh Ghujeh 2020-01-03 16:45:26 +09:00 committed by WooHyun Jung
parent 5c99f08511
commit c9cc3ab3f0
1 changed files with 1 additions and 1 deletions

View File

@ -6569,7 +6569,7 @@ _layout_par(Ctxt *c)
Evas_Coord cw = c->w; Evas_Coord cw = c->w;
if (obs) if (obs)
{ {
cw -= obs->w; cw = obs->x;
} }
if (it->format->wrap_word) if (it->format->wrap_word)
wrap = _layout_get_wordwrap(c, it->format, it, wrap = _layout_get_wordwrap(c, it->format, it,