Re: [mediacapture-image] Add pan and tilt constraints

@dsanders11 From my POV I see two viable options:
 1. Use arc seconds, or
 2. Use degrees without rounding, but auto-snap values within 0.000001 of applied constraint.

Either would seem to me to solve most if not all rounding issues.

I don't like the `.toFixed(2)` solution, as it would seem to only exacerbate rounding errors with `step`.

Clearly, if arc seconds were commonly used, they're the inherently simpler option, but I don't have the domain knowledge to know if they are. Naively, I think I'd still pick degrees, but I'm not the target audience. I'd also follow any web precedent here if there is one.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/pull/182#issuecomment-313424967 using your GitHub account

Received on Thursday, 6 July 2017 15:09:16 UTC