提交 997d7351 编写于 作者: S SteVen Batten

fixes #79280

上级 78d462bd
......@@ -117,12 +117,11 @@ abstract class ViewItem {
if (typeof size === 'number') {
this._size = size;
this._cachedVisibleSize = undefined;
dom.addClass(container, 'visible');
} else {
this._size = 0;
this._cachedVisibleSize = size.cachedVisibleSize;
}
dom.addClass(container, 'visible');
}
layout(_orthogonalSize: number | undefined): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册