ELM_SLIDER_DATA_GET(data, sd);
if (sd->popup)
{
- if (!sd->popup_hiding)
+ if (!(elm_widget_focus_get(data) && sd->always_popup_show))
{
- if (!(elm_widget_focus_get(data) && sd->always_popup_show))
- {
- edje_object_signal_emit(sd->popup, "popup,hide", "elm"); // XXX: for compat
- edje_object_signal_emit(sd->popup, "elm,popup,hide", "elm");
- sd->popup_hiding = EINA_TRUE;
- }
+ edje_object_signal_emit(sd->popup, "popup,hide", "elm"); // XXX: for compat
+ edje_object_signal_emit(sd->popup, "elm,popup,hide", "elm");
}
}
}
ELM_SLIDER_DATA_GET(data, sd);
if (sd->popup)
{
- if (sd->popup_hiding)
- {
- if (!(elm_widget_focus_get(data) && sd->always_popup_show))
- {
- evas_object_hide(sd->popup);
- sd->popup_hiding = EINA_FALSE;
- }
- }
+ if (!(elm_widget_focus_get(data) && sd->always_popup_show))
+ evas_object_hide(sd->popup);
}
}
Eina_Bool indicator_show : 1;
Eina_Bool spacer_down : 1;
Eina_Bool frozen : 1;
- Eina_Bool popup_hiding : 1;
Eina_Bool units_show : 1;
Eina_Bool always_popup_show : 1; /*this flag is to set the visiblity of slider indicator
* if this flag is set then the indicator always show