owsolutions / amazing-time-picker

Timepicker (Clock Picker) for Angular 2, Angular 4 and Angular 5, Angular 6, Angular 7 - Compatible with Angular Material
137 stars 76 forks source link

Clicking clock occasionally does not update time / arrow #55

Closed smitelij closed 6 years ago

smitelij commented 6 years ago

In the function CalcDegrees, line 103-105:

if (degMod === 0) {
      return;
}

You should instead return degrees here, otherwise we get an undefined return value.

torabian commented 6 years ago

What is the current behavior?

smitelij commented 6 years ago

Open amazing-time-picker. Switch to selecting minutes. Click on the clock to select a new minute hand position. Every 1 out of 6 clicks, the clock will not get updated with the new position.

torabian commented 6 years ago

Thank you for reporting this. Can you give me a hint how can I fix this issue?

torabian commented 6 years ago

I have fixed this issue. It will be available from version 1.5.3 and onward.