forked from enlightenment/efl
efl_ui/bg: unset finger_size multiplier during construction
Summary: this is not a clickable widget, so it shouldn't use finger size ref T8304 @fix Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8304 Differential Revision: https://phab.enlightenment.org/D10274
This commit is contained in:
parent
0d48cb46d4
commit
9e113d0f2f
|
@ -292,7 +292,7 @@ _efl_ui_bg_legacy_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
||||||
efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
|
efl_canvas_object_type_set(obj, MY_CLASS_NAME_LEGACY);
|
||||||
EFL_UI_BG_DATA_GET_OR_RETURN_VAL(obj, pd, obj);
|
EFL_UI_BG_DATA_GET_OR_RETURN_VAL(obj, pd, obj);
|
||||||
efl_gfx_entity_scale_set(pd->img, 1.0);
|
efl_gfx_entity_scale_set(pd->img, 1.0);
|
||||||
|
efl_ui_layout_finger_size_multiplier_set(obj, 0, 0);
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue