Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
if (wd->scr)
- elm_smart_scroller_bounce_allow_set(wd->scr, h_bounce, v_bounce);
+ elm_scroller_bounce_set(wd->scr, h_bounce, v_bounce);
}
/**
unsigned char dragged_began : 1;
unsigned char dir_x : 1;
unsigned char dir_y : 1;
-// unsigned char dir_none : 1;
unsigned char locked : 1;
unsigned char bounce_x_hold : 1;
unsigned char bounce_y_hold : 1;
sd->down.dragged = 0;
sd->down.dir_x = 0;
sd->down.dir_y = 0;
-// sd->down.dir_none = 0;
sd->down.x = ev->canvas.x;
sd->down.y = ev->canvas.y;
elm_smart_scroller_child_pos_get(sd->smart_obj, &x, &y);
if (y < 0) y = -y;
if ((sd->one_dir_at_a_time) &&
(!((sd->down.dir_x) || (sd->down.dir_y))))
- /* && (!sd->down.dir_none))*/
{
if (x > _elm_config->thumbscroll_threshhold)
{
}
if (!dodir)
{
- //sd->down.dir_none = 1;
sd->down.dir_x = 1;
sd->down.dir_y = 1;
}