forked from enlightenment/efl
image: remove duplicate _elm_image_internal_sizing_eval call
Summary: When set the file to image widget, _elm_image_internal_sizing_eval is called many times. This patch will remove duplicate call. In _elm_image_sizing_eval function, elm_obj_image_scale_set will be called always, calling _elm_image_internal_sizing_eval is unnecessary. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Reviewers: Hermet, cedric Subscribers: seoz Differential Revision: https://phab.enlightenment.org/D3730 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
5bde5fc431
commit
7ddd831de8
|
@ -804,8 +804,6 @@ _elm_image_sizing_eval(Eo *obj, Elm_Image_Data *sd)
|
||||||
int w = 0, h = 0;
|
int w = 0, h = 0;
|
||||||
double ts;
|
double ts;
|
||||||
|
|
||||||
_elm_image_internal_sizing_eval(obj, sd);
|
|
||||||
|
|
||||||
efl_image_smooth_scale_set(obj, sd->smooth);
|
efl_image_smooth_scale_set(obj, sd->smooth);
|
||||||
|
|
||||||
if (sd->no_scale)
|
if (sd->no_scale)
|
||||||
|
|
Loading…
Reference in New Issue