beegee-tokyo / widgets4androidhmi

Automatically exported from code.google.com/p/widgets4androidhmi
Other
0 stars 0 forks source link

Incorrect "degreesPerNotch" culculation. #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set atswidget:totalNotches="40", for example

What is the expected output? What do you see instead?
degreesPerNotch calculated as 360/120 = 3, instead of 360/40=9.

What version of the product are you using? 
2ce8226aedb4653e74300acad50379bc009c4320

Please provide any additional information below.
We can recalculate "degreesPerNotch" in init() method.

Original issue reported on code.google.com by kapustin...@gmail.com on 14 Nov 2011 at 10:59