Skip to content

Commit e4d114b

Browse files
committed
Merge branch 'master' of github.com:nativescript-community/ui-material-components
2 parents 9e5bc15 + 5108a6c commit e4d114b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bottomsheet/bottomsheet.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ function layoutView(controller: IMDLayoutViewController, owner: View): void {
189189
owner.nativeViewProtected.frame = CGRectMake(
190190
Utils.layout.toDeviceIndependentPixels(adjustedPosition.left),
191191
Utils.layout.toDeviceIndependentPixels(adjustedPosition.top),
192-
Utils.layout.toDeviceIndependentPixels(adjustedPosition.right - adjustedPosition.left),
193-
Utils.layout.toDeviceIndependentPixels(adjustedPosition.bottom - adjustedPosition.top)
192+
Utils.layout.toDeviceIndependentPixels(adjustedPosition.right),
193+
Utils.layout.toDeviceIndependentPixels(adjustedPosition.bottom)
194194
);
195195
}
196196
controller.preferredContentSize = CGSizeMake(Utils.layout.toDeviceIndependentPixels(effectiveWidth), Utils.layout.toDeviceIndependentPixels(effectiveHeight));

0 commit comments

Comments
 (0)