forked from enlightenment/efl
efl_ui_slider: remove setting pass_events on internal spacer in constructor
this object is swallowed into a layout, which means the layout will be managing this property Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9151
This commit is contained in:
parent
1bbf4380ab
commit
06024475cc
|
@ -659,8 +659,7 @@ _efl_ui_slider_efl_object_constructor(Eo *obj, Efl_Ui_Slider_Data *priv)
|
|||
efl_layout_signal_callback_add(obj, "drag,page", "*", obj, _drag_stop, NULL);
|
||||
|
||||
priv->spacer = efl_add(EFL_CANVAS_RECTANGLE_CLASS, obj,
|
||||
efl_gfx_color_set(efl_added, 0, 0, 0, 0),
|
||||
efl_canvas_object_pass_events_set(efl_added, EINA_TRUE));
|
||||
efl_gfx_color_set(efl_added, 0, 0, 0, 0));
|
||||
|
||||
if (elm_widget_is_legacy(obj))
|
||||
efl_content_set(efl_part(obj, "elm.swallow.bar"), priv->spacer);
|
||||
|
|
Loading…
Reference in New Issue