forked from enlightenment/efl
elm_interface_scrollable: add 1 space after if keyword
Reviewers: Hermet, akanad, SanghyeonLee Reviewed By: Hermet, SanghyeonLee Subscribers: SanghyeonLee, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6954
This commit is contained in:
parent
02d83ebcd4
commit
221ac4e51a
|
@ -2646,8 +2646,8 @@ _elm_scroll_momentum_calc(int dx, int dy, double dt, double *vx, double *vy, int
|
|||
// scale factor must be below 1.0
|
||||
if ( r >= 1 ) r = 0.99;
|
||||
|
||||
if(vx && sign_dx == sign_vx) vel_x = *vx;
|
||||
if(vy && sign_dy == sign_vy) vel_y = *vy;
|
||||
if (vx && (sign_dx == sign_vx)) vel_x = *vx;
|
||||
if (vy && (sign_dy == sign_vy)) vel_y = *vy;
|
||||
|
||||
// calculate time based velecity (unit : px/second)
|
||||
vel_x += dx / dt;
|
||||
|
|
Loading…
Reference in New Issue