Krisiacik / ImageViewer

An image viewer à la Twitter
MIT License
2.53k stars 385 forks source link

VideoViewController has bug #236

Open YongruiDuan opened 4 years ago

YongruiDuan commented 4 years ago

function viewDidLayoutSubviews line 94 let isLandscape = itemView.bounds.width >= itemView.bounds.height

this is not the device direction

WestFlow127 commented 4 years ago

This fixed? I have an issue with a video playing with a shrunk size (horizontally). It's dimensions is 1280x1280.