We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc301b commit 2b5cff6Copy full SHA for 2b5cff6
DYYY.xm
@@ -4277,6 +4277,11 @@ static CGFloat DYYYDesiredMTKViewShiftOffset(UIView *view) {
4277
if (!DYYYIsLandscapeVideoBounds(view.bounds.size)) {
4278
return 0.0f;
4279
}
4280
+ CGFloat viewWidth = CGRectGetWidth(view.bounds);
4281
+ CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;
4282
+ if (viewWidth < screenWidth * 0.75f) {
4283
+ return 0.0f;
4284
+ }
4285
CGFloat tabHeight = DYYYCurrentTabHeight();
4286
if (tabHeight <= 0.0f) {
4287
0 commit comments