aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r--src/client/views/nodes/ImageBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index f3ba968f5..ff129cf1d 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -392,7 +392,7 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum
let srcpath = paths[Math.min(paths.length - 1, NumCast(this.Document.curPage))];
let fadepath = paths[Math.min(paths.length - 1, 1)];
- (!this.Document.ignoreAspect && !this.props.leaveNativeSize) && this.resize(srcpath);
+ !this.Document.ignoreAspect && this.resize(srcpath);
return (
<div className={`imageBox-cont${interactive}`} style={{ background: "transparent" }}