From: Youngbok Shin Date: Tue, 25 Jul 2017 06:57:41 +0000 (+0900) Subject: edje: fix wrong speed calculation for text marquee's duration X-Git-Tag: accepted/tizen/unified/20170728.195341~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63110fb7d6a61430d8c969fa521c0c59bdcc1c8e;p=platform%2Fupstream%2Fefl.git edje: fix wrong speed calculation for text marquee's duration @tizen_fix Change-Id: Ic3cbd2fa178ee6c65e0b22665fd3592a1e0ea0fd --- diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index 8ae39f2..933e5f4 100644 --- a/src/lib/edje/edje_calc.c +++ b/src/lib/edje/edje_calc.c @@ -6499,16 +6499,16 @@ _edje_text_ellipsize_apply(Edje *ed, Edje_Real_Part *ep, { case EDJE_TEXT_ELLIPSIZE_MARQUEE_TYPE_ROLL: if (text_marquee_vertical) - distance_per_loop = th + pf->final.h; + distance_per_loop = th + roll_gap; else - distance_per_loop = tw + pf->final.w; + distance_per_loop = tw + roll_gap; break; case EDJE_TEXT_ELLIPSIZE_MARQUEE_TYPE_DEFAULT: default: if (text_marquee_vertical) - distance_per_loop = th + roll_gap; + distance_per_loop = th + pf->final.h; else - distance_per_loop = tw + roll_gap; + distance_per_loop = tw + pf->final.w; } ep->typedata.text->ellipsize.marquee.sec_per_pixel =