flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
597 stars 40 forks source link

Improved stability of AVPlayer's video display #200

Closed janek closed 6 years ago

janek commented 6 years ago

Type of change: Quickfix

Motivation

When the app was run on Mac with Galaxy 8's screen size, the video was skewed.

Changing the divisor (as suggested by @ephemer) made the problem go away and to the best of my knowledge did not break any of the other screen sizes (as it logically shouldn't).

Testing Details

I've ran the Mac app on all currently available screen sizes (4 phone, 6 tablet) and on a physical SGS5 and SM-T800. The video displays correctly on all of them

Please check if the PR fulfills these requirements