Closed yell0wd0g closed 7 years ago
Consider using Math.round(step * 100) / 100 to throw away the (potentially many) decimals coming out of a MediaSettingsRange.step (re. https://crbug.com/723249 bug)
Math.round(step * 100) / 100
MediaSettingsRange.step
e.g. in line: https://github.com/beaufortfrancois/sandbox/blob/gh-pages/image-capture/playground.html#L199
Fixed in https://github.com/beaufortfrancois/sandbox/commit/95a9d71211b8a53ec687240352145624b9a97919 Thank you!
Consider using
Math.round(step * 100) / 100
to throw away the (potentially many) decimals coming out of aMediaSettingsRange.step
(re. https://crbug.com/723249 bug)e.g. in line: https://github.com/beaufortfrancois/sandbox/blob/gh-pages/image-capture/playground.html#L199