elm_clock : The step of hour decimal in editing mode should be 12 not to touch hour unit.

This commit is contained in:
Ryuan Choi 2013-06-06 07:51:44 +09:00
parent dd2e663651
commit ee4ba61327
3 changed files with 7 additions and 2 deletions

View File

@ -1390,3 +1390,7 @@
2013-06-05 ChunEon Park (Hermet)
* Fix navifame to recover the focus for the prev page when top item is deleted.
2013-06-06 Ryuan Choi (ryuan)
* Up/down step of hour decimal of elm_clock is changed to 12 not to touch hour unit at editing mode.

View File

@ -238,6 +238,7 @@ Fixes:
* Fix elm_mapbuf to be enabled before it's content is entirely rendered once. this will reduce the cases that content is not updated in the screen.
* Fix elm_colorselector does not update color bar when picker changed color.
* Fix navifame to recover the focus for the prev page when top item is deleted.
* Up/down step of hour decimal of elm_clock is changed to 12 not to touch hour unit at editing mode.
Removals:

View File

@ -31,7 +31,7 @@ _on_clock_val_up(void *data)
if (!sd->sel_obj) goto clock_val_up_cancel;
if (sd->sel_obj == sd->digit[0])
{
sd->hrs = sd->hrs + 10;
sd->hrs = sd->hrs + 12;
if (sd->hrs >= 24) sd->hrs -= 24;
}
if (sd->sel_obj == sd->digit[1])
@ -87,7 +87,7 @@ _on_clock_val_down(void *data)
if (!sd->sel_obj) goto clock_val_down_cancel;
if (sd->sel_obj == sd->digit[0])
{
sd->hrs = sd->hrs - 10;
sd->hrs = sd->hrs - 12;
if (sd->hrs < 0) sd->hrs += 24;
}
if (sd->sel_obj == sd->digit[1])