summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHosang Kim <hosang12.kim@samsung.com>2015-11-10 14:31:03 -0800
committerCedric BAIL <cedric@osg.samsung.com>2015-11-10 14:31:06 -0800
commitff8cf9a5037e4c30de0a668c75b15bf190906f0a (patch)
tree751da4d7081f0144951aea835b2a423b324490b2
parent2ef85d8324f710938f5cf0a9b41460d445575dc3 (diff)
slider: fix slider focus bug
Summary: when slider is focused and slider's indicator mode is not ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS, slider's indicator popup blinked. Test Plan: elementary_test -> slider -> focus out -> click slider again Reviewers: seoz, cedric, raster, Hermet, woohyun, CHAN, id213sin Differential Revision: https://phab.enlightenment.org/D3308 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/elm_slider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index 25cd4a791..33f2ecc9c 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -1208,7 +1208,7 @@ _elm_slider_elm_widget_on_focus(Eo *obj, Elm_Slider_Data *sd EINA_UNUSED, Elm_Ob
1208 1208
1209 if ((sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS) && elm_widget_focus_get(obj)) 1209 if ((sd->indicator_visible_mode == ELM_SLIDER_INDICATOR_VISIBLE_MODE_ON_FOCUS) && elm_widget_focus_get(obj))
1210 _popup_show(obj, NULL, NULL, NULL); 1210 _popup_show(obj, NULL, NULL, NULL);
1211 else 1211 else if (!elm_widget_focus_get(obj))
1212 _popup_hide(obj, NULL, NULL, NULL); 1212 _popup_hide(obj, NULL, NULL, NULL);
1213 1213
1214 return int_ret; 1214 return int_ret;