diff options
author | bobzel <zzzman@gmail.com> | 2022-07-22 14:11:30 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-07-22 14:11:30 -0400 |
commit | 358f9e266ef264442aea1e2c7d5d959a19f7624c (patch) | |
tree | cdcd9ea131ed3c1d516b84f4873e7ae0ff525019 /src/client/views/nodes/ScreenshotBox.tsx | |
parent | ea95bd9719623117fdf73a290633ae20839976f0 (diff) |
adjusted native dim scaling slightly combining props.scaling and props.ContentScaling into props.NativeDimScaling and fixing some resizing behaviors for fitWidth freeformviews and native-sized text boxes. Also fixed clicking on presboxe elements to not drag.
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.tsx')
-rw-r--r-- | src/client/views/nodes/ScreenshotBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index 942072524..76a24d831 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -295,7 +295,7 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatabl isAnnotationOverlay={true} select={emptyFunction} isContentActive={returnFalse} - scaling={returnOne} + NativeDimScaling={returnOne} whenChildContentsActiveChanged={emptyFunction} removeDocument={returnFalse} moveDocument={returnFalse} @@ -317,7 +317,7 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatabl isAnnotationOverlay={true} select={emptyFunction} isContentActive={emptyFunction} - scaling={returnOne} + NativeDimScaling={returnOne} xPadding={25} yPadding={10} whenChildContentsActiveChanged={emptyFunction} |