Fix for autoresizing breaking with bounds changes.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-09-17 01:12:30 -07:00
1 parent 2348a8ebd3
commit a02cda6376
1 file changed
+3 -1
+3 -1
View File
@@ -706,7 +706,9 @@ var CPViewFlags = { },
[CachedNotificationCenter postNotificationName:CPViewFrameDidChangeNotification object:self];
#if PLATFORM(DOM)
CPDOMDisplayServerSetStyleLeftTop(_DOMElement, _superview ? _superview._boundsTransform : NULL, origin.x, origin.y);
var transform = _superview ? _superview._boundsTransform : NULL;
CPDOMDisplayServerSetStyleLeftTop(_DOMElement, transform, origin.x, origin.y);
#endif
}