diff options
| author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2022-07-05 10:06:45 -0700 |
|---|---|---|
| committer | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2022-07-05 10:06:45 -0700 |
| commit | a32633937d2978daa2cb1c6d4df89a58edb9ec97 (patch) | |
| tree | 66c95324ef22169e138842ae189da24af696155a /src/client/views/DocumentDecorations.tsx | |
| parent | f9eeb8d47f67e5056a079a39ea038bee089767b2 (diff) | |
| parent | 0906eab4135db844dc45a20d33f84e7439461c9b (diff) | |
Merge branch 'master' into geireann-rotation-borderRadius
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 4f30bf846..336ec9c83 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -367,6 +367,7 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P onPointerMove = (e: PointerEvent, down: number[], move: number[]): boolean => { const first = SelectionManager.Views()[0]; + if (!first) return false; let thisPt = { x: e.clientX - this._offX, y: e.clientY - this._offY }; var fixedAspect = Doc.NativeAspect(first.layoutDoc); InkStrokeProperties.Instance._lock && |
