elm image - store smooth scale var in object as intended
this fixesa bug reported by davemds and kuuko in python bindings test suite where setting smooth flag != getting it right after.
This commit is contained in:
parent
9b2980e1b1
commit
f23788dcb0
|
@ -544,17 +544,14 @@ _efl_ui_image_edje_file_set(Evas_Object *obj,
|
|||
EOLIAN static void
|
||||
_efl_ui_image_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, Eina_Bool smooth)
|
||||
{
|
||||
if (sd->edje) return;
|
||||
|
||||
sd->smooth = smooth;
|
||||
evas_object_image_smooth_scale_set(sd->img, smooth);
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
_efl_ui_image_efl_image_smooth_scale_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd)
|
||||
{
|
||||
if (sd->edje) return EINA_FALSE;
|
||||
|
||||
return evas_object_image_smooth_scale_get(sd->img);
|
||||
return sd->smooth;
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue