forked from enlightenment/efl
Fix max value wrapping calculation of elm spinner.
By: Rafael Fonseca <rfonseca@profusion.mobi> SVN revision: 49683
This commit is contained in:
parent
64c0cbc955
commit
84d84ac0dd
|
@ -207,7 +207,7 @@ _value_set(Evas_Object *obj, double delta)
|
|||
while (new_val < wd->val_min)
|
||||
new_val = wd->val_max + new_val + 1 - wd->val_min;
|
||||
while (new_val > wd->val_max)
|
||||
new_val = wd->val_min + new_val - wd->val_max;
|
||||
new_val = wd->val_min + new_val - wd->val_max - 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue