mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-04-29 00:02:13 +08:00
CB-13865: (IOS-Ipad) Making popover Window Size configurable using popoverOptions - imagePicker (#314)
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ exports.defineManualTests = function (contentEl, createActionButton) {
|
||||
|
||||
// Reposition the popover if the orientation changes.
|
||||
window.onorientationchange = function () {
|
||||
var newPopoverOptions = new CameraPopoverOptions(0, 0, 100, 100, 0);
|
||||
var newPopoverOptions = new CameraPopoverOptions(0, 0, 100, 100, 0, 300, 400);
|
||||
popoverHandle.setPosition(newPopoverOptions);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user