diff options
author | bobzel <zzzman@gmail.com> | 2023-11-19 14:58:02 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-11-19 14:58:02 -0500 |
commit | cd6508a69a5b56c8c7d9a5c41cae63b4dcca494d (patch) | |
tree | 414fda8b92794e382f4401822feae7be4d0a0aaf /src/client/views/nodes/DocumentView.tsx | |
parent | 3ebb44420ebe8621be355478cbd45656a5224303 (diff) |
from last
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 66a431bf0..fbb42ef87 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -1617,7 +1617,13 @@ export class DocumentView extends React.Component<DocumentViewProps> { PanelHeight = () => this.panelHeight; NativeDimScaling = () => this.nativeScaling; selfView = () => this; - trueNativeWidth = () => returnVal(this.props.NativeWidth?.(), Doc.NativeWidth(this.layoutDoc, this.props.DataDoc, false)); + 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; + }; screenToLocalTransform = () => this.props .ScreenToLocalTransform() |