if (sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ALWAYS) return;
if ((sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS) &&
+ /* TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
efl_ui_focus_object_focus_get(data))
+ */
+ elm_widget_focus_get(data))
+ /* END */
return;
edje_object_signal_emit(sd->popup, "popup,hide", "elm"); // XXX: for compat
ELM_SLIDER_DATA_GET(data, sd);
if (sd->popup)
{
+ /* TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
if (!((efl_ui_focus_object_focus_get(data)) &&
+ */
+ if (!((elm_widget_focus_get(data)) &&
+ /* END */
(sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS)))
{
evas_object_hide(sd->popup);
}
if (sd->popup2)
{
+ /*TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
if (!((efl_ui_focus_object_focus_get(data)) &&
+ */
+ if (!((elm_widget_focus_get(data)) &&
+ /* END */
(sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS)))
{
evas_object_hide(sd->popup2);
const char *emission EINA_UNUSED,
const char *source EINA_UNUSED)
{
+ /*TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
if (!efl_ui_focus_object_focus_get(data))
+ */
+ if (!elm_widget_focus_get(data))
+ /* END */
elm_object_focus_set(data, EINA_TRUE);
_slider_update(data, EINA_TRUE);
evas_object_smart_callback_call(data, SIG_DRAG_START, NULL);
}
}
+ /* TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
if (!efl_ui_focus_object_focus_get(data))
+ */
+ if (!elm_widget_focus_get(data))
+ /* END */
elm_object_focus_set(data, EINA_TRUE);
_slider_update(data, EINA_TRUE);
int_ret = efl_ui_focus_object_on_focus_update(efl_super(obj, MY_CLASS));
+ /* TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
if ((sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS) && efl_ui_focus_object_focus_get(obj))
+ */
+ if ((sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS) && elm_widget_focus_get(obj))
+ /* END */
_popup_show(obj, NULL, NULL, NULL);
+ /* TIZEN_ONLY(20190919): fix focus for legacy slider on tizen
else if (!efl_ui_focus_object_focus_get(obj))
+ */
+ else if (!elm_widget_focus_get(obj))
+ /* END */
_popup_hide(obj, NULL, NULL, NULL);
return int_ret;