mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 16:12:58 +00:00
Fixed: [CPView addSubview:] was ignoring bounds origin for DOM positioning
This commit is contained in:
1 parent
e02107102c
commit
c7f3dd5b0f
1 file changed
+5
@@ -662,6 +662,11 @@ var CPViewHighDPIDrawingEnabled = YES;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
var origin = aSubview._frame.origin;
|
||||
CPDOMDisplayServerSetStyleLeftTop(aSubview._DOMElement, _boundsTransform, origin.x, origin.y);
|
||||
#endif
|
||||
|
||||
[aSubview setNextResponder:self];
|
||||
[aSubview _scaleSizeUnitSquareToSize:[self _hierarchyScaleSize]];
|
||||
|
||||
|
||||
Reference in new issue
Block a user