From 6f708730e3616220c63db35d699c0f510990a0e2 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Tue, 22 Mar 2011 02:59:06 +0000 Subject: [PATCH] From: WooHyun Jung Subject: [E-devel] [Patch] Small patch for elm_slider (scrolling pop + push) I made small patch for elm_slider. I think scrolling should be freezed (not held) when dragging is started. This is because scrolling can go on with elm_widget_scroll_hold_push. SVN revision: 57959 --- src/lib/elm_slider.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c index 2b095f172..a36b4a7f8 100644 --- a/src/lib/elm_slider.c +++ b/src/lib/elm_slider.c @@ -407,7 +407,7 @@ _drag_start(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUS evas_object_smart_callback_call(data, SIG_DRAG_START, NULL); _units_set(data); _indicator_set(data); - elm_widget_scroll_hold_push(data); + elm_widget_scroll_freeze_push(data); } static void @@ -417,7 +417,7 @@ _drag_stop(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSE evas_object_smart_callback_call(data, SIG_DRAG_STOP, NULL); _units_set(data); _indicator_set(data); - elm_widget_scroll_hold_pop(data); + elm_widget_scroll_freeze_pop(data); } static void -- 2.34.1