forked from weareoutman/clockpicker
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I'm trying to apply a transform: scale(.8) to scale down the size of it all. Looks-wise it does fine, but this seems to throw off the hour and minute selections. Somehow it's off, for example if I click the 7, it acts like I clicked the 8.
in the scenario I click on the 7, the code "Math.round(radian / unit);" seems to evaluate to 8. This leads me to believe the radian or unit is off due to my scaling.
Just not sure how to adjust code to accommodate my size change. any help would be great...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels