diff options
author | bobzel <zzzman@gmail.com> | 2023-04-17 15:18:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 15:18:05 -0400 |
commit | 57983d95ceeb364e3e0a282daea13035114ddb3f (patch) | |
tree | e85522f4205899a375d00175c780d0bd8f4380b9 /src/client/views/nodes/ImageBox.tsx | |
parent | 8619a61dd33cdbfa1b8fe3e762306bbf52dbcbad (diff) | |
parent | c2d3e35ff0ce5200776f31bc5030dc3041d19371 (diff) |
Merge pull request #166 from brown-dash/pres-trail-sophie
Generative AI Text/Image
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 7c98aa6e4..e8d4be1fd 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -352,7 +352,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp @computed get nativeSize() { TraceMobx(); const nativeWidth = NumCast(this.dataDoc[this.fieldKey + '-nativeWidth'], NumCast(this.layoutDoc[this.fieldKey + '-nativeWidth'], 500)); - const nativeHeight = NumCast(this.dataDoc[this.fieldKey + '-nativeHeight'], NumCast(this.layoutDoc[this.fieldKey + '-nativeHeight'], 1)); + const nativeHeight = NumCast(this.dataDoc[this.fieldKey + '-nativeHeight'], NumCast(this.layoutDoc[this.fieldKey + '-nativeHeight'], 500)); const nativeOrientation = NumCast(this.dataDoc[this.fieldKey + '-nativeOrientation'], 1); return { nativeWidth, nativeHeight, nativeOrientation }; } |