{
if (sd->indicator_visible_mode == indicator_visible_mode) return;
sd->indicator_visible_mode = indicator_visible_mode;
+ //TIZEN_ONLY(20170419): fix slider indicator behavior
+ if (sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS)
+ {
+ _popup_show(obj, NULL, NULL, NULL);
+ }
+ else
+ {
+ _popup_hide(obj, NULL, NULL, NULL);
+ }
+ //
}
EOLIAN static Elm_Slider_Indicator_Visible_Mode
}
//
+//TIZEN_ONLY(20170419): fix slider indicator behavior
+EOLIAN static Eina_Bool
+_elm_slider_elm_widget_disable(Eo *obj, Elm_Slider_Data *sd)
+{
+ Eina_Bool int_ret = EINA_FALSE;
+ eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_disable());
+ if (!int_ret) return EINA_FALSE;
+
+ if (sd->popup)
+ {
+ if (elm_widget_disabled_get(obj))
+ edje_object_signal_emit(sd->popup, "elm,state,disabled", "elm");
+ else
+ edje_object_signal_emit(sd->popup, "elm,state,enabled", "elm");
+ }
+ return EINA_TRUE;
+}
+//
+
EOLIAN static void
_elm_slider_class_constructor(Eo_Class *klass)
{