googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
450 stars 284 forks source link

fix: changed to parseFloat #820

Closed Kiro705 closed 5 years ago

Kiro705 commented 5 years ago

Changed parseInt to parseFloat for more accurate window resize to fix a bug where a one pixel line may appear.

Because of discrepancies between how javascript and CSS round pixel size in the browser, this bug may still appear in certain very specific window size and browser combinations, but the frequency will be reduced.