fix broken transforms because of wrong view bounds

This commit is contained in:
MartoYankov
2018-09-27 17:07:13 +03:00
parent d025c0eeb3
commit b8c4ea639f

View File

@@ -175,7 +175,7 @@ export class View extends ViewCommon {
}
const boundsOrigin = nativeView.bounds.origin;
const boundsFrame = nativeView.frame;
const boundsFrame = adjustedFrame || frame;
nativeView.bounds = CGRectMake(boundsOrigin.x, boundsOrigin.y, boundsFrame.size.width, boundsFrame.size.height);
this._raiseLayoutChangedEvent();