mirror of
https://github.com/shuto-cn/cordova-plugin-inappbrowser.git
synced 2026-04-16 00:00:05 +08:00
Fixes CB-10607
When the device is in portrait upside down the toolbar appears at the bottom. This fix set the origin to the 0,0 point
This commit is contained in:
@@ -1019,8 +1019,8 @@
|
||||
CGFloat temp = rect.size.width;
|
||||
rect.size.width = rect.size.height;
|
||||
rect.size.height = temp;
|
||||
rect.origin = CGPointZero;
|
||||
}
|
||||
rect.origin = CGPointZero;
|
||||
}
|
||||
return rect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user