From 267bab4c2935841e6e94c63b982af9901ad89cbc Mon Sep 17 00:00:00 2001 From: bob Date: Tue, 28 Jan 2020 11:11:18 -0500 Subject: multicolumn drop fixes. adding menu entry to stacking columndocs. fixed imagebox nativewidth/height settings. --- src/client/views/nodes/ImageBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes') diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index ffcbe459e..33c694c6e 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -257,7 +257,7 @@ export class ImageBox extends DocAnnotatableComponent console.log(err)); } else if (this.Document._nativeHeight !== cachedNativeSize.width || this.Document._nativeWidth !== cachedNativeSize.height) { - setTimeout(() => { + !(this.Document[StrCast(this.props.Document.layoutKey)] instanceof Doc) && setTimeout(() => { this.Document._nativeWidth = cachedNativeSize.width; this.Document._nativeHeight = cachedNativeSize.height; }, 0); -- cgit v1.2.3-70-g09d2