aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-19 15:09:17 -0500
committerbobzel <zzzman@gmail.com>2023-11-19 15:09:17 -0500
commita6b0fd0612667404dfc92052723d4a1ec5d9d72c (patch)
tree75a72f15a81ff225a13f978a1bcf16cf5094b209 /src
parentcd6508a69a5b56c8c7d9a5c41cae63b4dcca494d (diff)
from last
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index fbb42ef87..66a431bf0 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -1617,13 +1617,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
PanelHeight = () => this.panelHeight;
NativeDimScaling = () => this.nativeScaling;
selfView = () => this;
- trueNativeWidth = () => {
- const rval = returnVal(this.props.NativeWidth?.(), Doc.NativeWidth(this.layoutDoc, this.props.DataDoc, false));
- if (rval !== this.NativeWidth()) {
- console.log("WHAT's GOING ON>???" + this.rootDoc.title + ' ' + rval + ' ' + this.NativeWidth());
- }
- return rval;
- };
+ trueNativeWidth = () => returnVal(this.props.NativeWidth?.(), Doc.NativeWidth(this.layoutDoc, this.props.DataDoc, false));
screenToLocalTransform = () =>
this.props
.ScreenToLocalTransform()