[slider][access] bug fix: smart_activate(); works in the opposite way.

SVN revision: 80318
This commit is contained in:
Shinwoo Kim 2012-12-06 08:48:50 +00:00
parent 17321c8bc3
commit 184b398750
1 changed files with 2 additions and 2 deletions

View File

@ -399,13 +399,13 @@ _elm_slider_smart_activate(Eo *obj, void *_pd, va_list *list)
if ((act == ELM_ACTIVATE_UP) ||
(act == ELM_ACTIVATE_RIGHT))
{
if (sd->inverted) _drag_up(obj, NULL, NULL, NULL);
if (!sd->inverted) _drag_up(obj, NULL, NULL, NULL);
else _drag_down(obj, NULL, NULL, NULL);
}
else if ((act == ELM_ACTIVATE_DOWN) ||
(act == ELM_ACTIVATE_LEFT))
{
if (sd->inverted) _drag_down(obj, NULL, NULL, NULL);
if (!sd->inverted) _drag_down(obj, NULL, NULL, NULL);
else _drag_up(obj, NULL, NULL, NULL);
}